Changeset 10202 for trunk


Ignore:
Timestamp:
03/02/11 10:12:22 (14 years ago)
Author:
tbretz
Message:
Updated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/configure

    r10200 r10202  
    747747LTLIBOBJS
    748748LIBOBJS
    749 ROOTSOVERSION
    750 ROOTVERSION
    751 ROOTRPATH
    752 ROOTAUXCFLAGS
    753 ROOTAUXLIBS
    754 ROOTGLIBS
    755 ROOTLIBS
    756 ROOTCFLAGS
    757 ROOTETCDIR
    758 ROOTINCDIR
    759 ROOTLIBDIR
    760 ROOTCINT
    761 ROOTEXEC
    762 ROOTCONF
    763749BOOST_THREAD_LIB
    764750BOOST_SYSTEM_LIB
     
    770756BOOST_LDFLAGS
    771757BOOST_CPPFLAGS
     758MYSQLPP_INC_DIR
     759MYSQLPP_LIB_DIR
     760MYSQL_C_LIB_NAME
     761MYSQL_C_LIB_DIR
     762MYSQL_C_INC_DIR
     763PTHREAD_CFLAGS
     764PTHREAD_LIBS
     765PTHREAD_CC
     766acx_pthread_config
    772767DOXYGEN_PAPER_SIZE
    773768DX_COND_latex_FALSE
     
    933928ac_user_opts='
    934929enable_option_checking
     930enable_static
    935931enable_shared
    936 enable_static
    937932with_pic
    938933enable_fast_install
     
    951946enable_doxygen_ps
    952947enable_doxygen_pdf
     948with_mysql_include
     949with_mysqlpp
     950with_mysqlpp_lib
     951with_mysqlpp_include
    953952with_boost
    954953with_boost_libdir
     
    960959with_boost_system
    961960with_boost_thread
    962 with_rootsys
    963 with_mysqlpp_lib_path
    964961'
    965962      ac_precious_vars='build_alias
     
    15971594  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    15981595  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     1596  --enable-static[=PKGS]  build static libraries [default=no]
    15991597  --enable-shared[=PKGS]  build shared libraries [default=yes]
    1600   --enable-static[=PKGS]  build static libraries [default=yes]
    16011598  --enable-fast-install[=PKGS]
    16021599                          optimize for fast installation [default=yes]
     
    16241621                          both]
    16251622  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
     1623  --with-mysql-include=<path> directory path of MySQL header installation
     1624  --with-mysqlpp=<path>     path containing MySQL++ header and library subdirs
     1625  --with-mysqlpp-lib=<path> directory path of MySQL++ library
     1626  --with-mysqlpp-include=<path> directory path of MySQL++ headers
    16261627  --with-boost[=DIR]      use boost (default is yes) - it is possible to
    16271628                          specify the root directory for boost (optional)
     
    16621663                          to specify a certain library for the linker e.g.
    16631664                          --with-boost-thread=boost_thread-gcc-mt
    1664   --with-rootsys          top of the ROOT installation directory
    1665 
    1666        --with-mysqlpp-lib-path location of the MySQL++ library, defaults to
    1667                           /usr/lib
    1668 
    16691665
    16701666Some influential environment variables:
     
    41584154  lt_cv_nm_interface="BSD nm"
    41594155  echo "int some_variable = 0;" > conftest.$ac_ext
    4160   (eval echo "\"\$as_me:4160: $ac_compile\"" >&5)
     4156  (eval echo "\"\$as_me:4156: $ac_compile\"" >&5)
    41614157  (eval "$ac_compile" 2>conftest.err)
    41624158  cat conftest.err >&5
    4163   (eval echo "\"\$as_me:4163: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
     4159  (eval echo "\"\$as_me:4159: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
    41644160  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
    41654161  cat conftest.err >&5
    4166   (eval echo "\"\$as_me:4166: output\"" >&5)
     4162  (eval echo "\"\$as_me:4162: output\"" >&5)
    41674163  cat conftest.out >&5
    41684164  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     
    53705366*-*-irix6*)
    53715367  # Find out which ABI we are using.
    5372   echo '#line 5372 "configure"' > conftest.$ac_ext
     5368  echo '#line 5368 "configure"' > conftest.$ac_ext
    53735369  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    53745370  (eval $ac_compile) 2>&5
     
    68006796
    68016797# Set options
     6798# Check whether --enable-static was given.
     6799if test "${enable_static+set}" = set; then :
     6800  enableval=$enable_static; p=${PACKAGE-default}
     6801    case $enableval in
     6802    yes) enable_static=yes ;;
     6803    no) enable_static=no ;;
     6804    *)
     6805     enable_static=no
     6806      # Look at the argument we got.  We use all the common list separators.
     6807      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     6808      for pkg in $enableval; do
     6809        IFS="$lt_save_ifs"
     6810        if test "X$pkg" = "X$p"; then
     6811          enable_static=yes
     6812        fi
     6813      done
     6814      IFS="$lt_save_ifs"
     6815      ;;
     6816    esac
     6817else
     6818  enable_static=no
     6819fi
     6820
     6821
     6822
     6823
     6824
     6825
     6826
    68026827
    68036828
     
    68326857fi
    68336858
    6834 
    6835 
    6836 
    6837 
    6838 
    6839 
    6840 
    6841 
    6842   # Check whether --enable-static was given.
    6843 if test "${enable_static+set}" = set; then :
    6844   enableval=$enable_static; p=${PACKAGE-default}
    6845     case $enableval in
    6846     yes) enable_static=yes ;;
    6847     no) enable_static=no ;;
    6848     *)
    6849      enable_static=no
    6850       # Look at the argument we got.  We use all the common list separators.
    6851       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    6852       for pkg in $enableval; do
    6853         IFS="$lt_save_ifs"
    6854         if test "X$pkg" = "X$p"; then
    6855           enable_static=yes
    6856         fi
    6857       done
    6858       IFS="$lt_save_ifs"
    6859       ;;
    6860     esac
    6861 else
    6862   enable_static=yes
    6863 fi
    68646859
    68656860
     
    72997294   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    73007295   -e 's:$: $lt_compiler_flag:'`
    7301    (eval echo "\"\$as_me:7301: $lt_compile\"" >&5)
     7296   (eval echo "\"\$as_me:7296: $lt_compile\"" >&5)
    73027297   (eval "$lt_compile" 2>conftest.err)
    73037298   ac_status=$?
    73047299   cat conftest.err >&5
    7305    echo "$as_me:7305: \$? = $ac_status" >&5
     7300   echo "$as_me:7300: \$? = $ac_status" >&5
    73067301   if (exit $ac_status) && test -s "$ac_outfile"; then
    73077302     # The compiler can only warn and ignore the option if not recognized
     
    76387633   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    76397634   -e 's:$: $lt_compiler_flag:'`
    7640    (eval echo "\"\$as_me:7640: $lt_compile\"" >&5)
     7635   (eval echo "\"\$as_me:7635: $lt_compile\"" >&5)
    76417636   (eval "$lt_compile" 2>conftest.err)
    76427637   ac_status=$?
    76437638   cat conftest.err >&5
    7644    echo "$as_me:7644: \$? = $ac_status" >&5
     7639   echo "$as_me:7639: \$? = $ac_status" >&5
    76457640   if (exit $ac_status) && test -s "$ac_outfile"; then
    76467641     # The compiler can only warn and ignore the option if not recognized
     
    77437738   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    77447739   -e 's:$: $lt_compiler_flag:'`
    7745    (eval echo "\"\$as_me:7745: $lt_compile\"" >&5)
     7740   (eval echo "\"\$as_me:7740: $lt_compile\"" >&5)
    77467741   (eval "$lt_compile" 2>out/conftest.err)
    77477742   ac_status=$?
    77487743   cat out/conftest.err >&5
    7749    echo "$as_me:7749: \$? = $ac_status" >&5
     7744   echo "$as_me:7744: \$? = $ac_status" >&5
    77507745   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    77517746   then
     
    77987793   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    77997794   -e 's:$: $lt_compiler_flag:'`
    7800    (eval echo "\"\$as_me:7800: $lt_compile\"" >&5)
     7795   (eval echo "\"\$as_me:7795: $lt_compile\"" >&5)
    78017796   (eval "$lt_compile" 2>out/conftest.err)
    78027797   ac_status=$?
    78037798   cat out/conftest.err >&5
    7804    echo "$as_me:7804: \$? = $ac_status" >&5
     7799   echo "$as_me:7799: \$? = $ac_status" >&5
    78057800   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    78067801   then
     
    1018210177  lt_status=$lt_dlunknown
    1018310178  cat > conftest.$ac_ext <<_LT_EOF
    10184 #line 10184 "configure"
     10179#line 10179 "configure"
    1018510180#include "confdefs.h"
    1018610181
     
    1027810273  lt_status=$lt_dlunknown
    1027910274  cat > conftest.$ac_ext <<_LT_EOF
    10280 #line 10280 "configure"
     10275#line 10275 "configure"
    1028110276#include "confdefs.h"
    1028210277
     
    1223412229   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1223512230   -e 's:$: $lt_compiler_flag:'`
    12236    (eval echo "\"\$as_me:12236: $lt_compile\"" >&5)
     12231   (eval echo "\"\$as_me:12231: $lt_compile\"" >&5)
    1223712232   (eval "$lt_compile" 2>conftest.err)
    1223812233   ac_status=$?
    1223912234   cat conftest.err >&5
    12240    echo "$as_me:12240: \$? = $ac_status" >&5
     12235   echo "$as_me:12235: \$? = $ac_status" >&5
    1224112236   if (exit $ac_status) && test -s "$ac_outfile"; then
    1224212237     # The compiler can only warn and ignore the option if not recognized
     
    1233312328   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1233412329   -e 's:$: $lt_compiler_flag:'`
    12335    (eval echo "\"\$as_me:12335: $lt_compile\"" >&5)
     12330   (eval echo "\"\$as_me:12330: $lt_compile\"" >&5)
    1233612331   (eval "$lt_compile" 2>out/conftest.err)
    1233712332   ac_status=$?
    1233812333   cat out/conftest.err >&5
    12339    echo "$as_me:12339: \$? = $ac_status" >&5
     12334   echo "$as_me:12334: \$? = $ac_status" >&5
    1234012335   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1234112336   then
     
    1238512380   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1238612381   -e 's:$: $lt_compiler_flag:'`
    12387    (eval echo "\"\$as_me:12387: $lt_compile\"" >&5)
     12382   (eval echo "\"\$as_me:12382: $lt_compile\"" >&5)
    1238812383   (eval "$lt_compile" 2>out/conftest.err)
    1238912384   ac_status=$?
    1239012385   cat out/conftest.err >&5
    12391    echo "$as_me:12391: \$? = $ac_status" >&5
     12386   echo "$as_me:12386: \$? = $ac_status" >&5
    1239212387   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1239312388   then
     
    1335913354
    1336013355#AC_PATH_XTRA
    13361 
    1336213356
    1336313357
     
    1624316237
    1624416238######################################################################
     16239# pthread/Readline/NCurses (pthread needed by dim and boost)
     16240######################################################################
     16241
     16242ac_ext=c
     16243ac_cpp='$CPP $CPPFLAGS'
     16244ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     16245ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     16246ac_compiler_gnu=$ac_cv_c_compiler_gnu
     16247
     16248
     16249
     16250
     16251
     16252ac_ext=c
     16253ac_cpp='$CPP $CPPFLAGS'
     16254ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     16255ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     16256ac_compiler_gnu=$ac_cv_c_compiler_gnu
     16257
     16258acx_pthread_ok=no
     16259
     16260# We used to check for pthread.h first, but this fails if pthread.h
     16261# requires special compiler flags (e.g. on True64 or Sequent).
     16262# It gets checked for in the link test anyway.
     16263
     16264# First of all, check if the user has set any of the PTHREAD_LIBS,
     16265# etcetera environment variables, and if threads linking works using
     16266# them:
     16267if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
     16268        save_CFLAGS="$CFLAGS"
     16269        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
     16270        save_LIBS="$LIBS"
     16271        LIBS="$PTHREAD_LIBS $LIBS"
     16272        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
     16273$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
     16274        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16275/* end confdefs.h.  */
     16276
     16277/* Override any GCC internal prototype to avoid an error.
     16278   Use char because int might match the return type of a GCC
     16279   builtin and then its argument prototype would still apply.  */
     16280#ifdef __cplusplus
     16281extern "C"
     16282#endif
     16283char pthread_join ();
     16284int
     16285main ()
     16286{
     16287return pthread_join ();
     16288  ;
     16289  return 0;
     16290}
     16291_ACEOF
     16292if ac_fn_c_try_link "$LINENO"; then :
     16293  acx_pthread_ok=yes
     16294fi
     16295rm -f core conftest.err conftest.$ac_objext \
     16296    conftest$ac_exeext conftest.$ac_ext
     16297        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
     16298$as_echo "$acx_pthread_ok" >&6; }
     16299        if test x"$acx_pthread_ok" = xno; then
     16300                PTHREAD_LIBS=""
     16301                PTHREAD_CFLAGS=""
     16302        fi
     16303        LIBS="$save_LIBS"
     16304        CFLAGS="$save_CFLAGS"
     16305fi
     16306
     16307# We must check for the threads library under a number of different
     16308# names; the ordering is very important because some systems
     16309# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
     16310# libraries is broken (non-POSIX).
     16311
     16312# Create a list of thread flags to try.  Items starting with a "-" are
     16313# C compiler flags, and other items are library names, except for "none"
     16314# which indicates that we try without any flags at all, and "pthread-config"
     16315# which is a program returning the flags for the Pth emulation library.
     16316
     16317acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
     16318
     16319# The ordering *is* (sometimes) important.  Some notes on the
     16320# individual items follow:
     16321
     16322# pthreads: AIX (must check this before -lpthread)
     16323# none: in case threads are in libc; should be tried before -Kthread and
     16324#       other compiler flags to prevent continual compiler warnings
     16325# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
     16326# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
     16327# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
     16328# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
     16329# -pthreads: Solaris/gcc
     16330# -mthreads: Mingw32/gcc, Lynx/gcc
     16331# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
     16332#      doesn't hurt to check since this sometimes defines pthreads too;
     16333#      also defines -D_REENTRANT)
     16334#      ... -mt is also the pthreads flag for HP/aCC
     16335# pthread: Linux, etcetera
     16336# --thread-safe: KAI C++
     16337# pthread-config: use pthread-config program (for GNU Pth library)
     16338
     16339case "${host_cpu}-${host_os}" in
     16340        *solaris*)
     16341
     16342        # On Solaris (at least, for some versions), libc contains stubbed
     16343        # (non-functional) versions of the pthreads routines, so link-based
     16344        # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
     16345        # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
     16346        # a function called by this macro, so we could check for that, but
     16347        # who knows whether they'll stub that too in a future libc.)  So,
     16348        # we'll just look for -pthreads and -lpthread first:
     16349
     16350        acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
     16351        ;;
     16352esac
     16353
     16354if test x"$acx_pthread_ok" = xno; then
     16355for flag in $acx_pthread_flags; do
     16356
     16357        case $flag in
     16358                none)
     16359                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
     16360$as_echo_n "checking whether pthreads work without any flags... " >&6; }
     16361                ;;
     16362
     16363                -*)
     16364                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
     16365$as_echo_n "checking whether pthreads work with $flag... " >&6; }
     16366                PTHREAD_CFLAGS="$flag"
     16367                ;;
     16368
     16369                pthread-config)
     16370                # Extract the first word of "pthread-config", so it can be a program name with args.
     16371set dummy pthread-config; ac_word=$2
     16372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     16373$as_echo_n "checking for $ac_word... " >&6; }
     16374if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
     16375  $as_echo_n "(cached) " >&6
     16376else
     16377  if test -n "$acx_pthread_config"; then
     16378  ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
     16379else
     16380as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     16381for as_dir in $PATH
     16382do
     16383  IFS=$as_save_IFS
     16384  test -z "$as_dir" && as_dir=.
     16385    for ac_exec_ext in '' $ac_executable_extensions; do
     16386  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     16387    ac_cv_prog_acx_pthread_config="yes"
     16388    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     16389    break 2
     16390  fi
     16391done
     16392  done
     16393IFS=$as_save_IFS
     16394
     16395  test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
     16396fi
     16397fi
     16398acx_pthread_config=$ac_cv_prog_acx_pthread_config
     16399if test -n "$acx_pthread_config"; then
     16400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
     16401$as_echo "$acx_pthread_config" >&6; }
     16402else
     16403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     16404$as_echo "no" >&6; }
     16405fi
     16406
     16407
     16408                if test x"$acx_pthread_config" = xno; then continue; fi
     16409                PTHREAD_CFLAGS="`pthread-config --cflags`"
     16410                PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
     16411                ;;
     16412
     16413                *)
     16414                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
     16415$as_echo_n "checking for the pthreads library -l$flag... " >&6; }
     16416                PTHREAD_LIBS="-l$flag"
     16417                ;;
     16418        esac
     16419
     16420        save_LIBS="$LIBS"
     16421        save_CFLAGS="$CFLAGS"
     16422        LIBS="$PTHREAD_LIBS $LIBS"
     16423        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
     16424
     16425        # Check for various functions.  We must include pthread.h,
     16426        # since some functions may be macros.  (On the Sequent, we
     16427        # need a special flag -Kthread to make this header compile.)
     16428        # We check for pthread_join because it is in -lpthread on IRIX
     16429        # while pthread_create is in libc.  We check for pthread_attr_init
     16430        # due to DEC craziness with -lpthreads.  We check for
     16431        # pthread_cleanup_push because it is one of the few pthread
     16432        # functions on Solaris that doesn't have a non-functional libc stub.
     16433        # We try pthread_create on general principles.
     16434        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16435/* end confdefs.h.  */
     16436#include <pthread.h>
     16437int
     16438main ()
     16439{
     16440pthread_t th; pthread_join(th, 0);
     16441                     pthread_attr_init(0); pthread_cleanup_push(0, 0);
     16442                     pthread_create(0,0,0,0); pthread_cleanup_pop(0);
     16443  ;
     16444  return 0;
     16445}
     16446_ACEOF
     16447if ac_fn_c_try_link "$LINENO"; then :
     16448  acx_pthread_ok=yes
     16449fi
     16450rm -f core conftest.err conftest.$ac_objext \
     16451    conftest$ac_exeext conftest.$ac_ext
     16452
     16453        LIBS="$save_LIBS"
     16454        CFLAGS="$save_CFLAGS"
     16455
     16456        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
     16457$as_echo "$acx_pthread_ok" >&6; }
     16458        if test "x$acx_pthread_ok" = xyes; then
     16459                break;
     16460        fi
     16461
     16462        PTHREAD_LIBS=""
     16463        PTHREAD_CFLAGS=""
     16464done
     16465fi
     16466
     16467# Various other checks:
     16468if test "x$acx_pthread_ok" = xyes; then
     16469        save_LIBS="$LIBS"
     16470        LIBS="$PTHREAD_LIBS $LIBS"
     16471        save_CFLAGS="$CFLAGS"
     16472        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
     16473
     16474        # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
     16475        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
     16476$as_echo_n "checking for joinable pthread attribute... " >&6; }
     16477        attr_name=unknown
     16478        for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
     16479            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16480/* end confdefs.h.  */
     16481#include <pthread.h>
     16482int
     16483main ()
     16484{
     16485int attr=$attr; return attr;
     16486  ;
     16487  return 0;
     16488}
     16489_ACEOF
     16490if ac_fn_c_try_link "$LINENO"; then :
     16491  attr_name=$attr; break
     16492fi
     16493rm -f core conftest.err conftest.$ac_objext \
     16494    conftest$ac_exeext conftest.$ac_ext
     16495        done
     16496        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
     16497$as_echo "$attr_name" >&6; }
     16498        if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
     16499
     16500cat >>confdefs.h <<_ACEOF
     16501#define PTHREAD_CREATE_JOINABLE $attr_name
     16502_ACEOF
     16503
     16504        fi
     16505
     16506        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
     16507$as_echo_n "checking if more special flags are required for pthreads... " >&6; }
     16508        flag=no
     16509        case "${host_cpu}-${host_os}" in
     16510            *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
     16511            *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
     16512        esac
     16513        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
     16514$as_echo "${flag}" >&6; }
     16515        if test "x$flag" != xno; then
     16516            PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
     16517        fi
     16518
     16519        LIBS="$save_LIBS"
     16520        CFLAGS="$save_CFLAGS"
     16521
     16522        # More AIX lossage: must compile with xlc_r or cc_r
     16523        if test x"$GCC" != xyes; then
     16524          for ac_prog in xlc_r cc_r
     16525do
     16526  # Extract the first word of "$ac_prog", so it can be a program name with args.
     16527set dummy $ac_prog; ac_word=$2
     16528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     16529$as_echo_n "checking for $ac_word... " >&6; }
     16530if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
     16531  $as_echo_n "(cached) " >&6
     16532else
     16533  if test -n "$PTHREAD_CC"; then
     16534  ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
     16535else
     16536as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     16537for as_dir in $PATH
     16538do
     16539  IFS=$as_save_IFS
     16540  test -z "$as_dir" && as_dir=.
     16541    for ac_exec_ext in '' $ac_executable_extensions; do
     16542  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     16543    ac_cv_prog_PTHREAD_CC="$ac_prog"
     16544    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     16545    break 2
     16546  fi
     16547done
     16548  done
     16549IFS=$as_save_IFS
     16550
     16551fi
     16552fi
     16553PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
     16554if test -n "$PTHREAD_CC"; then
     16555  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
     16556$as_echo "$PTHREAD_CC" >&6; }
     16557else
     16558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     16559$as_echo "no" >&6; }
     16560fi
     16561
     16562
     16563  test -n "$PTHREAD_CC" && break
     16564done
     16565test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
     16566
     16567        else
     16568          PTHREAD_CC=$CC
     16569        fi
     16570else
     16571        PTHREAD_CC="$CC"
     16572fi
     16573
     16574
     16575
     16576
     16577
     16578# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
     16579if test x"$acx_pthread_ok" = xyes; then
     16580
     16581$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
     16582
     16583        :
     16584else
     16585        acx_pthread_ok=no
     16586
     16587fi
     16588ac_ext=c
     16589ac_cpp='$CPP $CPPFLAGS'
     16590ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     16591ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     16592ac_compiler_gnu=$ac_cv_c_compiler_gnu
     16593
     16594
     16595
     16596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
     16597$as_echo_n "checking for readline in -lreadline... " >&6; }
     16598if test "${ac_cv_lib_readline_readline+set}" = set; then :
     16599  $as_echo_n "(cached) " >&6
     16600else
     16601  ac_check_lib_save_LIBS=$LIBS
     16602LIBS="-lreadline  $LIBS"
     16603cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16604/* end confdefs.h.  */
     16605
     16606/* Override any GCC internal prototype to avoid an error.
     16607   Use char because int might match the return type of a GCC
     16608   builtin and then its argument prototype would still apply.  */
     16609#ifdef __cplusplus
     16610extern "C"
     16611#endif
     16612char readline ();
     16613int
     16614main ()
     16615{
     16616return readline ();
     16617  ;
     16618  return 0;
     16619}
     16620_ACEOF
     16621if ac_fn_c_try_link "$LINENO"; then :
     16622  ac_cv_lib_readline_readline=yes
     16623else
     16624  ac_cv_lib_readline_readline=no
     16625fi
     16626rm -f core conftest.err conftest.$ac_objext \
     16627    conftest$ac_exeext conftest.$ac_ext
     16628LIBS=$ac_check_lib_save_LIBS
     16629fi
     16630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
     16631$as_echo "$ac_cv_lib_readline_readline" >&6; }
     16632if test "x$ac_cv_lib_readline_readline" = x""yes; then :
     16633  cat >>confdefs.h <<_ACEOF
     16634#define HAVE_LIBREADLINE 1
     16635_ACEOF
     16636
     16637  LIBS="-lreadline $LIBS"
     16638
     16639else
     16640
     16641      echo "Error! libreadline not found in default libarary paths."
     16642      exit -1
     16643
     16644
     16645fi
     16646
     16647for ac_header in readline/readline.h
     16648do :
     16649  ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
     16650if test "x$ac_cv_header_readline_readline_h" = x""yes; then :
     16651  cat >>confdefs.h <<_ACEOF
     16652#define HAVE_READLINE_READLINE_H 1
     16653_ACEOF
     16654
     16655else
     16656
     16657      echo "Error! readline/readline.h not properly installed in default include path (maybe readline-dev missing)."
     16658      exit -1
     16659
     16660
     16661fi
     16662
     16663done
     16664
     16665
     16666
     16667for ac_header in panel.h
     16668do :
     16669  ac_fn_c_check_header_mongrel "$LINENO" "panel.h" "ac_cv_header_panel_h" "$ac_includes_default"
     16670if test "x$ac_cv_header_panel_h" = x""yes; then :
     16671  cat >>confdefs.h <<_ACEOF
     16672#define HAVE_PANEL_H 1
     16673_ACEOF
     16674
     16675else
     16676
     16677      echo "Error! Ncurses panel.h not properly installed in default include paths."
     16678      exit -1
     16679
     16680
     16681fi
     16682
     16683done
     16684
     16685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for update_panels in -lpanel" >&5
     16686$as_echo_n "checking for update_panels in -lpanel... " >&6; }
     16687if test "${ac_cv_lib_panel_update_panels+set}" = set; then :
     16688  $as_echo_n "(cached) " >&6
     16689else
     16690  ac_check_lib_save_LIBS=$LIBS
     16691LIBS="-lpanel  $LIBS"
     16692cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16693/* end confdefs.h.  */
     16694
     16695/* Override any GCC internal prototype to avoid an error.
     16696   Use char because int might match the return type of a GCC
     16697   builtin and then its argument prototype would still apply.  */
     16698#ifdef __cplusplus
     16699extern "C"
     16700#endif
     16701char update_panels ();
     16702int
     16703main ()
     16704{
     16705return update_panels ();
     16706  ;
     16707  return 0;
     16708}
     16709_ACEOF
     16710if ac_fn_c_try_link "$LINENO"; then :
     16711  ac_cv_lib_panel_update_panels=yes
     16712else
     16713  ac_cv_lib_panel_update_panels=no
     16714fi
     16715rm -f core conftest.err conftest.$ac_objext \
     16716    conftest$ac_exeext conftest.$ac_ext
     16717LIBS=$ac_check_lib_save_LIBS
     16718fi
     16719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_panel_update_panels" >&5
     16720$as_echo "$ac_cv_lib_panel_update_panels" >&6; }
     16721if test "x$ac_cv_lib_panel_update_panels" = x""yes; then :
     16722  cat >>confdefs.h <<_ACEOF
     16723#define HAVE_LIBPANEL 1
     16724_ACEOF
     16725
     16726  LIBS="-lpanel $LIBS"
     16727
     16728else
     16729
     16730      echo "Error! Ncurses libpanel not properly installed in the default libarary paths."
     16731      exit -1
     16732
     16733
     16734fi
     16735
     16736
     16737ac_ext=cpp
     16738ac_cpp='$CXXCPP $CPPFLAGS'
     16739ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     16740ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     16741ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     16742
     16743
     16744######################################################################
     16745# pthread support
     16746######################################################################
     16747
     16748#AX_PTHREAD
     16749#
     16750#AC_CHECK_LIB(pthread,  pthread_create,
     16751#   [],
     16752#   [
     16753#      echo "Error! libpthread not found in default libarary paths."
     16754#      exit -1
     16755#   ]
     16756#)
     16757#AC_CHECK_HEADERS(pthread.h, [],
     16758#   [
     16759#      echo "Error! pthread.h not properly installed in default include paths."
     16760#      exit -1
     16761#   ]
     16762#)
     16763
     16764######################################################################
     16765# Xm.h (lesstif/motif)
     16766######################################################################
     16767
     16768ac_ext=c
     16769ac_cpp='$CPP $CPPFLAGS'
     16770ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     16771ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     16772ac_compiler_gnu=$ac_cv_c_compiler_gnu
     16773
     16774
     16775for ac_header in Mrm/MrmAppl.h Xm/Xm.h
     16776do :
     16777  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     16778ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     16779if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     16780  cat >>confdefs.h <<_ACEOF
     16781#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     16782_ACEOF
     16783
     16784else
     16785
     16786      echo "Error! Mrm/MrmAppl.h, Xm/Xm.h not properly installed, needed to compile did (you need most probably lesstif2-dev)."
     16787      exit -1
     16788
     16789
     16790fi
     16791
     16792done
     16793
     16794
     16795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtToolkitInitialize in -lXm" >&5
     16796$as_echo_n "checking for XtToolkitInitialize in -lXm... " >&6; }
     16797if test "${ac_cv_lib_Xm_XtToolkitInitialize+set}" = set; then :
     16798  $as_echo_n "(cached) " >&6
     16799else
     16800  ac_check_lib_save_LIBS=$LIBS
     16801LIBS="-lXm  $LIBS"
     16802cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16803/* end confdefs.h.  */
     16804
     16805/* Override any GCC internal prototype to avoid an error.
     16806   Use char because int might match the return type of a GCC
     16807   builtin and then its argument prototype would still apply.  */
     16808#ifdef __cplusplus
     16809extern "C"
     16810#endif
     16811char XtToolkitInitialize ();
     16812int
     16813main ()
     16814{
     16815return XtToolkitInitialize ();
     16816  ;
     16817  return 0;
     16818}
     16819_ACEOF
     16820if ac_fn_c_try_link "$LINENO"; then :
     16821  ac_cv_lib_Xm_XtToolkitInitialize=yes
     16822else
     16823  ac_cv_lib_Xm_XtToolkitInitialize=no
     16824fi
     16825rm -f core conftest.err conftest.$ac_objext \
     16826    conftest$ac_exeext conftest.$ac_ext
     16827LIBS=$ac_check_lib_save_LIBS
     16828fi
     16829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XtToolkitInitialize" >&5
     16830$as_echo "$ac_cv_lib_Xm_XtToolkitInitialize" >&6; }
     16831if test "x$ac_cv_lib_Xm_XtToolkitInitialize" = x""yes; then :
     16832  cat >>confdefs.h <<_ACEOF
     16833#define HAVE_LIBXM 1
     16834_ACEOF
     16835
     16836  LIBS="-lXm $LIBS"
     16837
     16838else
     16839
     16840      echo "Error! libXm (lesstif2) not properly installed in the default library path (needed by dim to link did)."
     16841      exit -1
     16842
     16843
     16844fi
     16845
     16846
     16847ac_ext=cpp
     16848ac_cpp='$CXXCPP $CPPFLAGS'
     16849ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     16850ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     16851ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     16852
     16853
     16854######################################################################
     16855# MySQL(++) SUPPORT
     16856######################################################################
     16857
     16858
     16859        MYSQL_inc_check="/usr/include/mysql /usr/local/include/mysql /usr/local/mysql/include /usr/local/mysql/include/mysql /usr/mysql/include/mysql /opt/mysql/include/mysql /sw/include/mysql"
     16860
     16861# Check whether --with-mysql-include was given.
     16862if test "${with_mysql_include+set}" = set; then :
     16863  withval=$with_mysql_include; MYSQL_inc_check="$with_mysql_include $with_mysql_include/include $with_mysql_include/include/mysql"
     16864fi
     16865
     16866
     16867        #
     16868        # Look for MySQL C API headers
     16869        #
     16870        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL include directory" >&5
     16871$as_echo_n "checking for MySQL include directory... " >&6; }
     16872        MYSQL_C_INC_DIR=
     16873        for m in $MYSQL_inc_check
     16874        do
     16875                if test -d "$m" && test -f "$m/mysql.h"
     16876                then
     16877                        MYSQL_C_INC_DIR=$m
     16878                        break
     16879                fi
     16880        done
     16881
     16882        if test -z "$MYSQL_C_INC_DIR"
     16883        then
     16884                as_fn_error $? "Didn't find the MySQL include dir in '$MYSQL_inc_check'" "$LINENO" 5
     16885        fi
     16886
     16887        case "$MYSQL_C_INC_DIR" in
     16888                /* ) ;;
     16889                * )  as_fn_error $? "The MySQL include directory ($MYSQL_C_INC_DIR) must be an absolute path." "$LINENO" 5  ;;
     16890        esac
     16891
     16892        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL_C_INC_DIR" >&5
     16893$as_echo "$MYSQL_C_INC_DIR" >&6; }
     16894
     16895        CPPFLAGS="$CPPFLAGS -I${MYSQL_C_INC_DIR}"
     16896
     16897
     16898
     16899
     16900
     16901
     16902
     16903# Check whether --with-mysqlpp was given.
     16904if test "${with_mysqlpp+set}" = set; then :
     16905  withval=$with_mysqlpp; MYSQLPP_lib_check="$with_mysqlpp/lib64 $with_mysqlpp/lib $with_mysqlpp/lib64/mysql++ $with_mysqlpp/lib/mysql++"
     16906                  MYSQLPP_inc_check="$with_mysqlpp/include $with_mysqlpp/include/mysql++"
     16907else
     16908  MYSQLPP_lib_check="/usr/local/mysql++/lib64 /usr/local/mysql++/lib /usr/local/lib64/mysql++ /usr/local/lib/mysql++ /opt/mysql++/lib64 /opt/mysql++/lib /usr/lib64/mysql++ /usr/lib/mysql++ /usr/local/lib64 /usr/local/lib /usr/lib64 /usr/lib"
     16909                  MYSQLPP_inc_check="/usr/local/mysql++/include /usr/local/include/mysql++ /opt/mysql++/include /usr/local/include/mysql++ /usr/local/include /usr/include/mysql++ /usr/include"
     16910fi
     16911
     16912
     16913# Check whether --with-mysqlpp-lib was given.
     16914if test "${with_mysqlpp_lib+set}" = set; then :
     16915  withval=$with_mysqlpp_lib; MYSQLPP_lib_check="$with_mysqlpp_lib $with_mysqlpp_lib/lib64 $with_mysqlpp_lib/lib $with_mysqlpp_lib/lib64/mysql $with_mysqlpp_lib/lib/mysql"
     16916fi
     16917
     16918
     16919# Check whether --with-mysqlpp-include was given.
     16920if test "${with_mysqlpp_include+set}" = set; then :
     16921  withval=$with_mysqlpp_include; MYSQLPP_inc_check="$with_mysqlpp_include $with_mysqlpp_include/include $with_mysqlpp_include/include/mysql"
     16922fi
     16923
     16924
     16925                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL++ library location" >&5
     16926$as_echo_n "checking for MySQL++ library location... " >&6; }
     16927if test "${ac_cv_mysqlpp_lib+set}" = set; then :
     16928  $as_echo_n "(cached) " >&6
     16929else
     16930
     16931                for dir in $MYSQLPP_lib_check
     16932                do
     16933                        if test -d "$dir" && \
     16934                                ( test -f "$dir/libmysqlpp.so" ||
     16935                                  test -f "$dir/libmysqlpp.a" )
     16936                        then
     16937                                ac_cv_mysqlpp_lib=$dir
     16938                                break
     16939                        fi
     16940                done
     16941
     16942                if test -z "$ac_cv_mysqlpp_lib"
     16943                then
     16944                        as_fn_error $? "Didn't find the MySQL++ library dir in '$MYSQLPP_lib_check'" "$LINENO" 5
     16945                fi
     16946
     16947                case "$ac_cv_mysqlpp_lib" in
     16948                        /* ) ;;
     16949                        * )  as_fn_error $? "The MySQL++ library directory ($ac_cv_mysqlpp_lib) must be an absolute path." "$LINENO" 5  ;;
     16950                esac
     16951
     16952fi
     16953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mysqlpp_lib" >&5
     16954$as_echo "$ac_cv_mysqlpp_lib" >&6; }
     16955        MYSQLPP_LIB_DIR=$ac_cv_mysqlpp_lib
     16956
     16957
     16958                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL++ include path" >&5
     16959$as_echo_n "checking for MySQL++ include path... " >&6; }
     16960if test "${ac_cv_mysqlpp_inc+set}" = set; then :
     16961  $as_echo_n "(cached) " >&6
     16962else
     16963
     16964                for dir in $MYSQLPP_inc_check
     16965                do
     16966                        if test -d "$dir" && test -f "$dir/mysql++.h"
     16967                        then
     16968                                ac_cv_mysqlpp_inc=$dir
     16969                                break
     16970                        fi
     16971                done
     16972
     16973                if test -z "$ac_cv_mysqlpp_inc"
     16974                then
     16975                        as_fn_error $? "Didn't find the MySQL++ header dir in '$MYSQLPP_inc_check'" "$LINENO" 5
     16976                fi
     16977
     16978                case "$ac_cv_mysqlpp_inc" in
     16979                        /* ) ;;
     16980                        * )  as_fn_error $? "The MySQL++ header directory ($ac_cv_mysqlpp_inc) must be an absolute path." "$LINENO" 5  ;;
     16981                esac
     16982
     16983fi
     16984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mysqlpp_inc" >&5
     16985$as_echo "$ac_cv_mysqlpp_inc" >&6; }
     16986        MYSQLPP_INC_DIR=$ac_cv_mysqlpp_inc
     16987
     16988
     16989                                        case "$ac_cv_mysqlpp_lib" in
     16990          /usr/lib) ;;
     16991          *) LDFLAGS="$LDFLAGS -L${ac_cv_mysqlpp_lib}" ;;
     16992        esac
     16993        CPPFLAGS="$CPPFLAGS -I${ac_cv_mysqlpp_inc} -I${MYSQL_C_INC_DIR}"
     16994        { $as_echo "$as_me:${as_lineno-$LINENO}: checking that we can build MySQL++ programs" >&5
     16995$as_echo_n "checking that we can build MySQL++ programs... " >&6; }
     16996        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16997/* end confdefs.h.  */
     16998#include <mysql++.h>
     16999int
     17000main ()
     17001{
     17002mysqlpp::Connection c(false)
     17003  ;
     17004  return 0;
     17005}
     17006_ACEOF
     17007if ac_fn_cxx_try_compile "$LINENO"; then :
     17008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     17009$as_echo "yes" >&6; }
     17010else
     17011  as_fn_error $? "no" "$LINENO" 5
     17012fi
     17013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     17014
     17015
     17016######################################################################
    1624517017# BOOST SUPPORT
    1624617018######################################################################
     
    1808618858#ax_boost_wserialization
    1808718859
    18088 ######################################################################
    18089 # ROOT SUPPORT
    18090 ######################################################################
    18091 
    18092 #ROOT_PATH([5.12/00, [ACTION-IF-FOUND, [ACTION-IF-NOT-FOUND]]])
    18093 
    18094 
    18095 # Check whether --with-rootsys was given.
    18096 if test "${with_rootsys+set}" = set; then :
    18097   withval=$with_rootsys; user_rootsys=$withval
    18098 else
    18099   user_rootsys="none"
    18100 fi
    18101 
    18102   if test ! x"$user_rootsys" = xnone; then
    18103     rootbin="$user_rootsys/bin"
    18104   elif test ! x"$ROOTSYS" = x ; then
    18105     rootbin="$ROOTSYS/bin"
    18106   else
    18107    rootbin=$PATH
    18108   fi
    18109   # Extract the first word of "root-config ", so it can be a program name with args.
    18110 set dummy root-config ; ac_word=$2
    18111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    18112 $as_echo_n "checking for $ac_word... " >&6; }
    18113 if test "${ac_cv_path_ROOTCONF+set}" = set; then :
    18114   $as_echo_n "(cached) " >&6
    18115 else
    18116   case $ROOTCONF in
    18117   [\\/]* | ?:[\\/]*)
    18118   ac_cv_path_ROOTCONF="$ROOTCONF" # Let the user override the test with a path.
    18119   ;;
    18120   *)
    18121   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    18122 for as_dir in $rootbin
    18123 do
    18124   IFS=$as_save_IFS
    18125   test -z "$as_dir" && as_dir=.
    18126     for ac_exec_ext in '' $ac_executable_extensions; do
    18127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    18128     ac_cv_path_ROOTCONF="$as_dir/$ac_word$ac_exec_ext"
    18129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    18130     break 2
    18131   fi
    18132 done
    18133   done
    18134 IFS=$as_save_IFS
    18135 
    18136   test -z "$ac_cv_path_ROOTCONF" && ac_cv_path_ROOTCONF="no"
    18137   ;;
    18138 esac
    18139 fi
    18140 ROOTCONF=$ac_cv_path_ROOTCONF
    18141 if test -n "$ROOTCONF"; then
    18142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ROOTCONF" >&5
    18143 $as_echo "$ROOTCONF" >&6; }
    18144 else
    18145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    18146 $as_echo "no" >&6; }
    18147 fi
    18148 
    18149 
    18150   # Extract the first word of "root ", so it can be a program name with args.
    18151 set dummy root ; ac_word=$2
    18152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    18153 $as_echo_n "checking for $ac_word... " >&6; }
    18154 if test "${ac_cv_path_ROOTEXEC+set}" = set; then :
    18155   $as_echo_n "(cached) " >&6
    18156 else
    18157   case $ROOTEXEC in
    18158   [\\/]* | ?:[\\/]*)
    18159   ac_cv_path_ROOTEXEC="$ROOTEXEC" # Let the user override the test with a path.
    18160   ;;
    18161   *)
    18162   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    18163 for as_dir in $rootbin
    18164 do
    18165   IFS=$as_save_IFS
    18166   test -z "$as_dir" && as_dir=.
    18167     for ac_exec_ext in '' $ac_executable_extensions; do
    18168   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    18169     ac_cv_path_ROOTEXEC="$as_dir/$ac_word$ac_exec_ext"
    18170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    18171     break 2
    18172   fi
    18173 done
    18174   done
    18175 IFS=$as_save_IFS
    18176 
    18177   test -z "$ac_cv_path_ROOTEXEC" && ac_cv_path_ROOTEXEC="no"
    18178   ;;
    18179 esac
    18180 fi
    18181 ROOTEXEC=$ac_cv_path_ROOTEXEC
    18182 if test -n "$ROOTEXEC"; then
    18183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ROOTEXEC" >&5
    18184 $as_echo "$ROOTEXEC" >&6; }
    18185 else
    18186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    18187 $as_echo "no" >&6; }
    18188 fi
    18189 
    18190 
    18191   # Extract the first word of "rootcint ", so it can be a program name with args.
    18192 set dummy rootcint ; ac_word=$2
    18193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    18194 $as_echo_n "checking for $ac_word... " >&6; }
    18195 if test "${ac_cv_path_ROOTCINT+set}" = set; then :
    18196   $as_echo_n "(cached) " >&6
    18197 else
    18198   case $ROOTCINT in
    18199   [\\/]* | ?:[\\/]*)
    18200   ac_cv_path_ROOTCINT="$ROOTCINT" # Let the user override the test with a path.
    18201   ;;
    18202   *)
    18203   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    18204 for as_dir in $rootbin
    18205 do
    18206   IFS=$as_save_IFS
    18207   test -z "$as_dir" && as_dir=.
    18208     for ac_exec_ext in '' $ac_executable_extensions; do
    18209   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    18210     ac_cv_path_ROOTCINT="$as_dir/$ac_word$ac_exec_ext"
    18211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    18212     break 2
    18213   fi
    18214 done
    18215   done
    18216 IFS=$as_save_IFS
    18217 
    18218   test -z "$ac_cv_path_ROOTCINT" && ac_cv_path_ROOTCINT="no"
    18219   ;;
    18220 esac
    18221 fi
    18222 ROOTCINT=$ac_cv_path_ROOTCINT
    18223 if test -n "$ROOTCINT"; then
    18224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ROOTCINT" >&5
    18225 $as_echo "$ROOTCINT" >&6; }
    18226 else
    18227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    18228 $as_echo "no" >&6; }
    18229 fi
    18230 
    18231 
    18232 
    18233   if test ! x"$ROOTCONF" = "xno" && \
    18234      test ! x"$ROOTCINT" = "xno" ; then
    18235 
    18236     # define some variables
    18237     ROOTLIBDIR=`$ROOTCONF --libdir`
    18238     ROOTINCDIR=`$ROOTCONF --incdir`
    18239     ROOTETCDIR=`$ROOTCONF --etcdir`
    18240     ROOTCFLAGS=`$ROOTCONF --noauxcflags --cflags`
    18241     ROOTLIBS=`$ROOTCONF --noauxlibs --noldflags --libs`
    18242     ROOTGLIBS=`$ROOTCONF --noauxlibs --noldflags --glibs`
    18243     ROOTAUXCFLAGS=`$ROOTCONF --auxcflags`
    18244     ROOTAUXLIBS=`$ROOTCONF --auxlibs`
    18245     ROOTRPATH=$ROOTLIBDIR
    18246     ROOTVERSION=`$ROOTCONF --version`
    18247     ROOTSOVERSION=`dirname $ROOTVERSION`
    18248 
    18249     if test 5.12/00 ; then
    18250       { $as_echo "$as_me:${as_lineno-$LINENO}: checking wether ROOT version >= 5.12/00" >&5
    18251 $as_echo_n "checking wether ROOT version >= 5.12/00... " >&6; }
    18252       vers=`$ROOTCONF --version | tr './' ' ' | awk 'BEGIN { FS = " "; } { printf "%d", ($''1 * 1000 + $''2) * 1000 + $''3;}'`
    18253       requ=`echo 5.12/00 | tr './' ' ' | awk 'BEGIN { FS = " "; } { printf "%d", ($''1 * 1000 + $''2) * 1000 + $''3;}'`
    18254       if test $vers -lt $requ ; then
    18255         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    18256 $as_echo "no" >&6; }
    18257         no_root="yes"
    18258       else
    18259         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    18260 $as_echo "yes" >&6; }
    18261       fi
    18262     fi
    18263   else
    18264     # otherwise, we say no_root
    18265     no_root="yes"
    18266   fi
    18267 
    18268 
    18269 
    18270 
    18271 
    18272 
    18273 
    18274 
    18275 
    18276 
    18277 
    18278 
    18279 
    18280   if test "x$no_root" = "x" ; then
    18281     :
    18282   else
    18283     :
    18284   fi
    18285 
    18286 # ROOTCONF           full path to root-config
    18287 # ROOTEXEC           full path to root
    18288 # ROOTCINT           full path to rootcint
    18289 # ROOTLIBDIR         Where the ROOT libraries are
    18290 # ROOTINCDIR         Where the ROOT headers are
    18291 # ROOTETCDIR         Where the ROOT configuration is
    18292 # ROOTCFLAGS         Extra compiler flags
    18293 # ROOTLIBS           ROOT basic libraries
    18294 # ROOTGLIBS          ROOT basic + GUI libraries
    18295 # ROOTAUXLIBS        Auxilary libraries and linker flags for ROOT
    18296 # ROOTAUXCFLAGS      Auxilary compiler flags
    18297 # ROOTRPATH          Same as ROOTLIBDIR
    18298 
    18299 
    18300 ac_ext=c
    18301 ac_cpp='$CPP $CPPFLAGS'
    18302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    18303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    18304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    18305 
    18306 
    18307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
    18308 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
    18309 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
    18310   $as_echo_n "(cached) " >&6
    18311 else
    18312   ac_check_lib_save_LIBS=$LIBS
    18313 LIBS="-lpthread  $LIBS"
    18314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    18315 /* end confdefs.h.  */
    18316 
    18317 /* Override any GCC internal prototype to avoid an error.
    18318    Use char because int might match the return type of a GCC
    18319    builtin and then its argument prototype would still apply.  */
    18320 #ifdef __cplusplus
    18321 extern "C"
    18322 #endif
    18323 char pthread_create ();
    18324 int
    18325 main ()
    18326 {
    18327 return pthread_create ();
    18328   ;
    18329   return 0;
    18330 }
    18331 _ACEOF
    18332 if ac_fn_c_try_link "$LINENO"; then :
    18333   ac_cv_lib_pthread_pthread_create=yes
    18334 else
    18335   ac_cv_lib_pthread_pthread_create=no
    18336 fi
    18337 rm -f core conftest.err conftest.$ac_objext \
    18338     conftest$ac_exeext conftest.$ac_ext
    18339 LIBS=$ac_check_lib_save_LIBS
    18340 fi
    18341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
    18342 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
    18343 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
    18344   cat >>confdefs.h <<_ACEOF
    18345 #define HAVE_LIBPTHREAD 1
    18346 _ACEOF
    18347 
    18348   LIBS="-lpthread $LIBS"
    18349 
    18350 else
    18351 
    18352       echo "Error! libpthread not found in default libarary paths."
    18353       exit -1
    18354 
    18355 
    18356 fi
    18357 
    18358 for ac_header in pthread.h
    18359 do :
    18360   ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
    18361 if test "x$ac_cv_header_pthread_h" = x""yes; then :
    18362   cat >>confdefs.h <<_ACEOF
    18363 #define HAVE_PTHREAD_H 1
    18364 _ACEOF
    18365 
    18366 else
    18367 
    18368       echo "Error! pthread.h not properly installed in default include paths."
    18369       exit -1
    18370 
    18371 
    18372 fi
    18373 
    18374 done
    18375 
    18376 
    18377 
    18378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
    18379 $as_echo_n "checking for readline in -lreadline... " >&6; }
    18380 if test "${ac_cv_lib_readline_readline+set}" = set; then :
    18381   $as_echo_n "(cached) " >&6
    18382 else
    18383   ac_check_lib_save_LIBS=$LIBS
    18384 LIBS="-lreadline  $LIBS"
    18385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    18386 /* end confdefs.h.  */
    18387 
    18388 /* Override any GCC internal prototype to avoid an error.
    18389    Use char because int might match the return type of a GCC
    18390    builtin and then its argument prototype would still apply.  */
    18391 #ifdef __cplusplus
    18392 extern "C"
    18393 #endif
    18394 char readline ();
    18395 int
    18396 main ()
    18397 {
    18398 return readline ();
    18399   ;
    18400   return 0;
    18401 }
    18402 _ACEOF
    18403 if ac_fn_c_try_link "$LINENO"; then :
    18404   ac_cv_lib_readline_readline=yes
    18405 else
    18406   ac_cv_lib_readline_readline=no
    18407 fi
    18408 rm -f core conftest.err conftest.$ac_objext \
    18409     conftest$ac_exeext conftest.$ac_ext
    18410 LIBS=$ac_check_lib_save_LIBS
    18411 fi
    18412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
    18413 $as_echo "$ac_cv_lib_readline_readline" >&6; }
    18414 if test "x$ac_cv_lib_readline_readline" = x""yes; then :
    18415   cat >>confdefs.h <<_ACEOF
    18416 #define HAVE_LIBREADLINE 1
    18417 _ACEOF
    18418 
    18419   LIBS="-lreadline $LIBS"
    18420 
    18421 else
    18422 
    18423       echo "Error! libreadline not found in default libarary paths."
    18424       exit -1
    18425 
    18426 
    18427 fi
    18428 
    18429 for ac_header in readline/readline.h
    18430 do :
    18431   ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
    18432 if test "x$ac_cv_header_readline_readline_h" = x""yes; then :
    18433   cat >>confdefs.h <<_ACEOF
    18434 #define HAVE_READLINE_READLINE_H 1
    18435 _ACEOF
    18436 
    18437 else
    18438 
    18439       echo "Error! readline/readline.h not properly installed in default include path (maybe readline-dev missing)."
    18440       exit -1
    18441 
    18442 
    18443 fi
    18444 
    18445 done
    18446 
    18447 
    18448 
    18449 for ac_header in panel.h
    18450 do :
    18451   ac_fn_c_check_header_mongrel "$LINENO" "panel.h" "ac_cv_header_panel_h" "$ac_includes_default"
    18452 if test "x$ac_cv_header_panel_h" = x""yes; then :
    18453   cat >>confdefs.h <<_ACEOF
    18454 #define HAVE_PANEL_H 1
    18455 _ACEOF
    18456 
    18457 else
    18458 
    18459       echo "Error! Ncurses panel.h not properly installed in default include paths."
    18460       exit -1
    18461 
    18462 
    18463 fi
    18464 
    18465 done
    18466 
    18467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for update_panels in -lpanel" >&5
    18468 $as_echo_n "checking for update_panels in -lpanel... " >&6; }
    18469 if test "${ac_cv_lib_panel_update_panels+set}" = set; then :
    18470   $as_echo_n "(cached) " >&6
    18471 else
    18472   ac_check_lib_save_LIBS=$LIBS
    18473 LIBS="-lpanel  $LIBS"
    18474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    18475 /* end confdefs.h.  */
    18476 
    18477 /* Override any GCC internal prototype to avoid an error.
    18478    Use char because int might match the return type of a GCC
    18479    builtin and then its argument prototype would still apply.  */
    18480 #ifdef __cplusplus
    18481 extern "C"
    18482 #endif
    18483 char update_panels ();
    18484 int
    18485 main ()
    18486 {
    18487 return update_panels ();
    18488   ;
    18489   return 0;
    18490 }
    18491 _ACEOF
    18492 if ac_fn_c_try_link "$LINENO"; then :
    18493   ac_cv_lib_panel_update_panels=yes
    18494 else
    18495   ac_cv_lib_panel_update_panels=no
    18496 fi
    18497 rm -f core conftest.err conftest.$ac_objext \
    18498     conftest$ac_exeext conftest.$ac_ext
    18499 LIBS=$ac_check_lib_save_LIBS
    18500 fi
    18501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_panel_update_panels" >&5
    18502 $as_echo "$ac_cv_lib_panel_update_panels" >&6; }
    18503 if test "x$ac_cv_lib_panel_update_panels" = x""yes; then :
    18504   cat >>confdefs.h <<_ACEOF
    18505 #define HAVE_LIBPANEL 1
    18506 _ACEOF
    18507 
    18508   LIBS="-lpanel $LIBS"
    18509 
    18510 else
    18511 
    18512       echo "Error! Ncurses libpanel not properly installed in the default libarary paths."
    18513       exit -1
    18514 
    18515 
    18516 fi
    18517 
    18518 
    18519 
    18520 for ac_header in Mrm/MrmAppl.h Xm/Xm.h
    18521 do :
    18522   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    18523 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
    18524 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    18525   cat >>confdefs.h <<_ACEOF
    18526 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    18527 _ACEOF
    18528 
    18529 else
    18530 
    18531       echo "Error! Mrm/MrmAppl.h, Xm/Xm.h not properly installed, needed to compile did (you need most probably lesstif2-dev)."
    18532       exit -1
    18533 
    18534 
    18535 fi
    18536 
    18537 done
    18538 
    18539 
    18540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtToolkitInitialize in -lXm" >&5
    18541 $as_echo_n "checking for XtToolkitInitialize in -lXm... " >&6; }
    18542 if test "${ac_cv_lib_Xm_XtToolkitInitialize+set}" = set; then :
    18543   $as_echo_n "(cached) " >&6
    18544 else
    18545   ac_check_lib_save_LIBS=$LIBS
    18546 LIBS="-lXm  $LIBS"
    18547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    18548 /* end confdefs.h.  */
    18549 
    18550 /* Override any GCC internal prototype to avoid an error.
    18551    Use char because int might match the return type of a GCC
    18552    builtin and then its argument prototype would still apply.  */
    18553 #ifdef __cplusplus
    18554 extern "C"
    18555 #endif
    18556 char XtToolkitInitialize ();
    18557 int
    18558 main ()
    18559 {
    18560 return XtToolkitInitialize ();
    18561   ;
    18562   return 0;
    18563 }
    18564 _ACEOF
    18565 if ac_fn_c_try_link "$LINENO"; then :
    18566   ac_cv_lib_Xm_XtToolkitInitialize=yes
    18567 else
    18568   ac_cv_lib_Xm_XtToolkitInitialize=no
    18569 fi
    18570 rm -f core conftest.err conftest.$ac_objext \
    18571     conftest$ac_exeext conftest.$ac_ext
    18572 LIBS=$ac_check_lib_save_LIBS
    18573 fi
    18574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XtToolkitInitialize" >&5
    18575 $as_echo "$ac_cv_lib_Xm_XtToolkitInitialize" >&6; }
    18576 if test "x$ac_cv_lib_Xm_XtToolkitInitialize" = x""yes; then :
    18577   cat >>confdefs.h <<_ACEOF
    18578 #define HAVE_LIBXM 1
    18579 _ACEOF
    18580 
    18581   LIBS="-lXm $LIBS"
    18582 
    18583 else
    18584 
    18585       echo "Error! libXm (lesstif2) not properly installed in the default library path (needed by dim to link did)."
    18586       exit -1
    18587 
    18588 
    18589 fi
    18590 
    18591 
    18592 ac_ext=cpp
    18593 ac_cpp='$CXXCPP $CPPFLAGS'
    18594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    18595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    18596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    18597 
    18598 
    1859918860#AC_CHECK_HEADERS(
    1860018861#   [\
     
    1861818879#)
    1861918880
    18620 #AC_ARG_WITH([dim],
    18621 #   [
    18622 #      AS_HELP_STRING([--with-dim],
    18623 #         [location of the Dim headers, defaults to dim_v19r15])
    18624 #   ],
    18625 #   [DIM_PATH="$withval"],
    18626 #   [DIM_PATH="dim_v19r15"]
    18627 #)
    18628 #
    18629 #AC_SUBST([DIM_PATH])
    18630 #
    18631 #CFLAGS="$CFLAGS -I$DIM_PATH/dim"
    18632 #CPPFLAGS="$CPPFLAGS -I$DIM_PATH/dim"
    18633 #INCLUDEPATH="$INCLUDEPATH -I$DIM_PATH/dim"
    18634 #AC_CHECK_HEADERS([dis.hxx dic.hxx], [],
    18635 #  [
    18636 #      echo "Error! Dim headers (dis.hxx, dic.hxx) not found in $DIM_PATH/dim."
    18637 #      exit -1
    18638 #   ]
    18639 #)
    18640 
    18641 ## ============>   boost header and boost libraries
    18642 
    18643 ##########################################################################
    18644 #AC_ARG_WITH([dim-include-path],
    18645 #   [
    18646 #      AS_HELP_STRING([--with-dim-include-path],
    18647 #         [location of the Dim headers, defaults to ${HOME}/FACT/dim_v19r11/dim])
    18648 #   ],
    18649 #   [DIM_INCLUDE_PATH="$withval"],
    18650 #   [DIM_INCLUDE_PATH="${HOME}/Software/Dim/dim_v19r11/dim"]
    18651 #)
    18652 #DIM_CFLAGS="-I$DIM_INCLUDE_PATH"
    18653 ##AC_SUBST([DIM_CFLAGS])
    18654 #
    18655 #CFLAGS="$CFLAGS $DIM_CFLAGS"
    18656 #CPPFLAGS="$CPPFLAGS $DIM_CFLAGS"
    18657 ##INCLUDEPATH="$INCLUDEPATH $DIM_INCLUDE_PATH"
    18658 #AC_CHECK_HEADERS([dis.hxx dic.hxx], [],
    18659 #   [
    18660 #      echo "Error! Dim headers (dis.hxx, dic.hxx) not found in $DIM_INCLUDE_PATH."
    18661 #      exit -1
    18662 #   ]
    18663 #)
    18664 ##########################################################################
    18665 
     18881######################################################################
     18882# ROOT SUPPORT
     18883######################################################################
     18884
     18885# ROOT_PATH([5.12/00, [ACTION-IF-FOUND, [ACTION-IF-NOT-FOUND]]])
     18886# ROOT_PATH([5.12/00])
     18887# ROOT_PATH(3.03/05, , AC_MSG_ERROR(Your ROOT version is too old))
     18888# ROOT_PATH(, AC_DEFINE([HAVE_ROOT]))
     18889
     18890# ROOTCONF           full path to root-config
     18891# ROOTEXEC           full path to root
     18892# ROOTCINT           full path to rootcint
     18893# ROOTLIBDIR         Where the ROOT libraries are
     18894# ROOTINCDIR         Where the ROOT headers are
     18895# ROOTETCDIR         Where the ROOT configuration is
     18896# ROOTCFLAGS         Extra compiler flags
     18897# ROOTLIBS           ROOT basic libraries
     18898# ROOTGLIBS          ROOT basic + GUI libraries
     18899# ROOTAUXLIBS        Auxilary libraries and linker flags for ROOT
     18900# ROOTAUXCFLAGS      Auxilary compiler flags
     18901# ROOTRPATH          Same as ROOTLIBDIR
    1866618902
    1866718903
    1866818904###########################################################################
    18669 #AC_ARG_WITH([dim-lib-path],
    18670 #  [
    18671 #     AS_HELP_STRING([--with-dim-lib-path],
    18672 #        [location of the Dim libraries, defaults to ${HOME}/FACT/dim_v19r11/linux])
    18673 #  ],
    18674 #  [DIM_LIB_PATH="$withval"],
    18675 #  [DIM_LIB_PATH="${HOME}/Software/Dim/dim_v19r11/linux"]
    18676 #)
    18677 #DIM_LIBS="-L$DIM_LIB_PATH -ldim"
    18678 ##AC_SUBST([DIM_LIBS])
    18679 #
    18680 #LDFLAGS="$LDFLAGS $DIM_LIBS"
    18681 #AC_CHECK_LIB(dim, [get_dns_port_number], [],
    18682 #   [
    18683 #      echo "Error! libdim.so file not found in $DIM_LIB_PATH."
    18684 #      exit -1
    18685 #   ]
    18686 #)
    18687 ###########################################################################
    18688 
    18689 
    18690 
    18691 # Get MySQL++ library and include locations
    18692 #AC_ARG_WITH([mysqlpp-include-path],
    18693 #   [
    18694 #      AS_HELP_STRING([--with-mysqlpp-include-path],
    18695 #         [location of the MySQL++ librarary headers, defaults to /usr/include/mysql++])
    18696 #   ],
    18697 #   [MYSQLPP_INCLUDE_PATH="$withval"],
    18698 #   [MYSQLPP_INCLUDE_PATH=""]
    18699 ##)
    18700 #MYSQLPP_CFLAGS="-I$MYSQLPP_INCLUDE_PATH"
    18701 ##AC_SUBST([DIM_CFLAGS])
    18702 #
    18703 #CFLAGS="$CFLAGS $MYSQLPP_CFLAGS"
    18704 #CPPFLAGS="$CPPFLAGS $MYSQLPP_CFLAGS"
    18705 ##INCLUDEPATH="$INCLUDEPATH $DIM_INCLUDE_PATH"
    18706 #AC_CHECK_HEADERS([mysql++/mysql++.h],
    18707 #   [],
    18708 #   [
    18709 #      echo "Error! mysql++/mysql++.h not found in default include path."
    18710 #      exit -1
    18711 #   ]
    18712 #)
    18713 #### LAST ARGUMENT IS "OTHER LIBRARIES"
    18714 
    18715 
    18716 
    18717 #AC_ARG_WITH([mysql-lib-path],
    18718 #  [
    18719 #     AS_HELP_STRING([--with-mysql-lib-path],
    18720 #        [location of the MySQL library, defaults to /usr/lib])
    18721 #  ],
    18722 #  [MYSQL_LIB_PATH="$withval"],
    18723 #  [MYSQL_LIB_PATH="/usr/lib"]
    18724 #)
    18725 #MYSQL_LIBS="-L$MYSQL_LIB_PATH -lmysql"
    18726 ##AC_SUBST([DIM_LIBS])
    18727 #
    18728 #LDFLAGS="$LDFLAGS $MYSQL_LIBS"
    18729 #AC_CHECK_LIB(mysql, [mysql_errno],
    18730 #   [],
    18731 #   [
    18732 #      echo "Error! mysql libarary file not found in $MYSQL_LIB_PATH."
    18733 #      exit -1
    18734 #   ]
    18735 #)
    18736 
    18737 
    18738 
    18739 
    18740 
    18741 # Check whether --with-mysqlpp-lib-path was given.
    18742 if test "${with_mysqlpp_lib_path+set}" = set; then :
    18743   withval=$with_mysqlpp_lib_path; MYSQLPP_LIB_PATH="$withval"
    18744 else
    18745   MYSQLPP_LIB_PATH="/usr/lib"
    18746 
    18747 fi
    18748 
    18749 MYSQLPP_LIBS="-L$MYSQLPP_LIB_PATH -lmysqlpp"
    18750 #AC_SUBST([DIM_LIBS])
    18751 
    18752 #LDFLAGS="$LDFLAGS $MYSQLPP_LIBS"
    18753 #AC_CHECK_LIB(mysql++, [mysql_errno],
    18754 #   [],
    18755 #   [
    18756 #      echo "Error! mysql++ libarary file not found in $MYSQL_LIB_PATH."
    18757 #      exit -1
    18758 #   ]
    18759 #)
    18760 
    18761 
    18762 
    18763 
    18764 
    18765 #CPPFLAGS="$CPPFLAGS -std=c++0x"
    18766 
    18767 CPPFLAGS="$CPPFLAGS -I/usr/include/mysql"
    18768 
    18769 
    18770 
    18771 
    18772 #AC_CHECK_HEADERS_ONCE(dim.h)
     18905
    1877318906
    1877418907#AC_C_CONST
    1877518908#AC_TYPE_PID_T
    1877618909#AC_HEADER_STDC
    18777 
    18778 
    1877918910
    1878018911##########################################################################
     
    1880218933#
    1880318934#AC_SUBST([AM_CXXFLAGS])
    18804 
    18805 
    18806 
    18807 
    18808 
    18809 
    18810 
    18811 
    18812 
    18813 
    1881418935
    1881518936
     
    1964219763macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
    1964319764macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
     19765enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
    1964419766enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
    19645 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
    1964619767pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
    1964719768enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
     
    2047820599macro_revision=$macro_revision
    2047920600
     20601# Whether or not to build static libraries.
     20602build_old_libs=$enable_static
     20603
    2048020604# Whether or not to build shared libraries.
    2048120605build_libtool_libs=$enable_shared
    20482 
    20483 # Whether or not to build static libraries.
    20484 build_old_libs=$enable_static
    2048520606
    2048620607# What type of objects to build.
Note: See TracChangeset for help on using the changeset viewer.