Changeset 10202 for trunk/FACT++/configure
- Timestamp:
- 03/02/11 10:12:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/configure
r10200 r10202 747 747 LTLIBOBJS 748 748 LIBOBJS 749 ROOTSOVERSION750 ROOTVERSION751 ROOTRPATH752 ROOTAUXCFLAGS753 ROOTAUXLIBS754 ROOTGLIBS755 ROOTLIBS756 ROOTCFLAGS757 ROOTETCDIR758 ROOTINCDIR759 ROOTLIBDIR760 ROOTCINT761 ROOTEXEC762 ROOTCONF763 749 BOOST_THREAD_LIB 764 750 BOOST_SYSTEM_LIB … … 770 756 BOOST_LDFLAGS 771 757 BOOST_CPPFLAGS 758 MYSQLPP_INC_DIR 759 MYSQLPP_LIB_DIR 760 MYSQL_C_LIB_NAME 761 MYSQL_C_LIB_DIR 762 MYSQL_C_INC_DIR 763 PTHREAD_CFLAGS 764 PTHREAD_LIBS 765 PTHREAD_CC 766 acx_pthread_config 772 767 DOXYGEN_PAPER_SIZE 773 768 DX_COND_latex_FALSE … … 933 928 ac_user_opts=' 934 929 enable_option_checking 930 enable_static 935 931 enable_shared 936 enable_static937 932 with_pic 938 933 enable_fast_install … … 951 946 enable_doxygen_ps 952 947 enable_doxygen_pdf 948 with_mysql_include 949 with_mysqlpp 950 with_mysqlpp_lib 951 with_mysqlpp_include 953 952 with_boost 954 953 with_boost_libdir … … 960 959 with_boost_system 961 960 with_boost_thread 962 with_rootsys963 with_mysqlpp_lib_path964 961 ' 965 962 ac_precious_vars='build_alias … … 1597 1594 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1598 1595 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1596 --enable-static[=PKGS] build static libraries [default=no] 1599 1597 --enable-shared[=PKGS] build shared libraries [default=yes] 1600 --enable-static[=PKGS] build static libraries [default=yes]1601 1598 --enable-fast-install[=PKGS] 1602 1599 optimize for fast installation [default=yes] … … 1624 1621 both] 1625 1622 --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 1626 1627 --with-boost[=DIR] use boost (default is yes) - it is possible to 1627 1628 specify the root directory for boost (optional) … … 1662 1663 to specify a certain library for the linker e.g. 1663 1664 --with-boost-thread=boost_thread-gcc-mt 1664 --with-rootsys top of the ROOT installation directory1665 1666 --with-mysqlpp-lib-path location of the MySQL++ library, defaults to1667 /usr/lib1668 1669 1665 1670 1666 Some influential environment variables: … … 4158 4154 lt_cv_nm_interface="BSD nm" 4159 4155 echo "int some_variable = 0;" > conftest.$ac_ext 4160 (eval echo "\"\$as_me:41 60: $ac_compile\"" >&5)4156 (eval echo "\"\$as_me:4156: $ac_compile\"" >&5) 4161 4157 (eval "$ac_compile" 2>conftest.err) 4162 4158 cat conftest.err >&5 4163 (eval echo "\"\$as_me:41 63: $NM \\\"conftest.$ac_objext\\\"\"" >&5)4159 (eval echo "\"\$as_me:4159: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4164 4160 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4165 4161 cat conftest.err >&5 4166 (eval echo "\"\$as_me:416 6: output\"" >&5)4162 (eval echo "\"\$as_me:4162: output\"" >&5) 4167 4163 cat conftest.out >&5 4168 4164 if $GREP 'External.*some_variable' conftest.out > /dev/null; then … … 5370 5366 *-*-irix6*) 5371 5367 # Find out which ABI we are using. 5372 echo '#line 53 72"configure"' > conftest.$ac_ext5368 echo '#line 5368 "configure"' > conftest.$ac_ext 5373 5369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5374 5370 (eval $ac_compile) 2>&5 … … 6800 6796 6801 6797 # Set options 6798 # Check whether --enable-static was given. 6799 if 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 6817 else 6818 enable_static=no 6819 fi 6820 6821 6822 6823 6824 6825 6826 6802 6827 6803 6828 … … 6832 6857 fi 6833 6858 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 in6846 yes) enable_static=yes ;;6847 no) enable_static=no ;;6848 *)6849 enable_static=no6850 # 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; do6853 IFS="$lt_save_ifs"6854 if test "X$pkg" = "X$p"; then6855 enable_static=yes6856 fi6857 done6858 IFS="$lt_save_ifs"6859 ;;6860 esac6861 else6862 enable_static=yes6863 fi6864 6859 6865 6860 … … 7299 7294 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7300 7295 -e 's:$: $lt_compiler_flag:'` 7301 (eval echo "\"\$as_me:7 301: $lt_compile\"" >&5)7296 (eval echo "\"\$as_me:7296: $lt_compile\"" >&5) 7302 7297 (eval "$lt_compile" 2>conftest.err) 7303 7298 ac_status=$? 7304 7299 cat conftest.err >&5 7305 echo "$as_me:730 5: \$? = $ac_status" >&57300 echo "$as_me:7300: \$? = $ac_status" >&5 7306 7301 if (exit $ac_status) && test -s "$ac_outfile"; then 7307 7302 # The compiler can only warn and ignore the option if not recognized … … 7638 7633 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7639 7634 -e 's:$: $lt_compiler_flag:'` 7640 (eval echo "\"\$as_me:76 40: $lt_compile\"" >&5)7635 (eval echo "\"\$as_me:7635: $lt_compile\"" >&5) 7641 7636 (eval "$lt_compile" 2>conftest.err) 7642 7637 ac_status=$? 7643 7638 cat conftest.err >&5 7644 echo "$as_me:76 44: \$? = $ac_status" >&57639 echo "$as_me:7639: \$? = $ac_status" >&5 7645 7640 if (exit $ac_status) && test -s "$ac_outfile"; then 7646 7641 # The compiler can only warn and ignore the option if not recognized … … 7743 7738 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7744 7739 -e 's:$: $lt_compiler_flag:'` 7745 (eval echo "\"\$as_me:774 5: $lt_compile\"" >&5)7740 (eval echo "\"\$as_me:7740: $lt_compile\"" >&5) 7746 7741 (eval "$lt_compile" 2>out/conftest.err) 7747 7742 ac_status=$? 7748 7743 cat out/conftest.err >&5 7749 echo "$as_me:774 9: \$? = $ac_status" >&57744 echo "$as_me:7744: \$? = $ac_status" >&5 7750 7745 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7751 7746 then … … 7798 7793 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7799 7794 -e 's:$: $lt_compiler_flag:'` 7800 (eval echo "\"\$as_me:7 800: $lt_compile\"" >&5)7795 (eval echo "\"\$as_me:7795: $lt_compile\"" >&5) 7801 7796 (eval "$lt_compile" 2>out/conftest.err) 7802 7797 ac_status=$? 7803 7798 cat out/conftest.err >&5 7804 echo "$as_me:7 804: \$? = $ac_status" >&57799 echo "$as_me:7799: \$? = $ac_status" >&5 7805 7800 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7806 7801 then … … 10182 10177 lt_status=$lt_dlunknown 10183 10178 cat > conftest.$ac_ext <<_LT_EOF 10184 #line 101 84"configure"10179 #line 10179 "configure" 10185 10180 #include "confdefs.h" 10186 10181 … … 10278 10273 lt_status=$lt_dlunknown 10279 10274 cat > conftest.$ac_ext <<_LT_EOF 10280 #line 102 80"configure"10275 #line 10275 "configure" 10281 10276 #include "confdefs.h" 10282 10277 … … 12234 12229 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12235 12230 -e 's:$: $lt_compiler_flag:'` 12236 (eval echo "\"\$as_me:1223 6: $lt_compile\"" >&5)12231 (eval echo "\"\$as_me:12231: $lt_compile\"" >&5) 12237 12232 (eval "$lt_compile" 2>conftest.err) 12238 12233 ac_status=$? 12239 12234 cat conftest.err >&5 12240 echo "$as_me:122 40: \$? = $ac_status" >&512235 echo "$as_me:12235: \$? = $ac_status" >&5 12241 12236 if (exit $ac_status) && test -s "$ac_outfile"; then 12242 12237 # The compiler can only warn and ignore the option if not recognized … … 12333 12328 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12334 12329 -e 's:$: $lt_compiler_flag:'` 12335 (eval echo "\"\$as_me:1233 5: $lt_compile\"" >&5)12330 (eval echo "\"\$as_me:12330: $lt_compile\"" >&5) 12336 12331 (eval "$lt_compile" 2>out/conftest.err) 12337 12332 ac_status=$? 12338 12333 cat out/conftest.err >&5 12339 echo "$as_me:1233 9: \$? = $ac_status" >&512334 echo "$as_me:12334: \$? = $ac_status" >&5 12340 12335 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12341 12336 then … … 12385 12380 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12386 12381 -e 's:$: $lt_compiler_flag:'` 12387 (eval echo "\"\$as_me:1238 7: $lt_compile\"" >&5)12382 (eval echo "\"\$as_me:12382: $lt_compile\"" >&5) 12388 12383 (eval "$lt_compile" 2>out/conftest.err) 12389 12384 ac_status=$? 12390 12385 cat out/conftest.err >&5 12391 echo "$as_me:123 91: \$? = $ac_status" >&512386 echo "$as_me:12386: \$? = $ac_status" >&5 12392 12387 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12393 12388 then … … 13359 13354 13360 13355 #AC_PATH_XTRA 13361 13362 13356 13363 13357 … … 16243 16237 16244 16238 ###################################################################### 16239 # pthread/Readline/NCurses (pthread needed by dim and boost) 16240 ###################################################################### 16241 16242 ac_ext=c 16243 ac_cpp='$CPP $CPPFLAGS' 16244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16246 ac_compiler_gnu=$ac_cv_c_compiler_gnu 16247 16248 16249 16250 16251 16252 ac_ext=c 16253 ac_cpp='$CPP $CPPFLAGS' 16254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16256 ac_compiler_gnu=$ac_cv_c_compiler_gnu 16257 16258 acx_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: 16267 if 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 16281 extern "C" 16282 #endif 16283 char pthread_join (); 16284 int 16285 main () 16286 { 16287 return pthread_join (); 16288 ; 16289 return 0; 16290 } 16291 _ACEOF 16292 if ac_fn_c_try_link "$LINENO"; then : 16293 acx_pthread_ok=yes 16294 fi 16295 rm -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" 16305 fi 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 16317 acx_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 16339 case "${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 ;; 16352 esac 16353 16354 if test x"$acx_pthread_ok" = xno; then 16355 for 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. 16371 set 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; } 16374 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then : 16375 $as_echo_n "(cached) " >&6 16376 else 16377 if test -n "$acx_pthread_config"; then 16378 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test. 16379 else 16380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16381 for as_dir in $PATH 16382 do 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 16391 done 16392 done 16393 IFS=$as_save_IFS 16394 16395 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no" 16396 fi 16397 fi 16398 acx_pthread_config=$ac_cv_prog_acx_pthread_config 16399 if 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; } 16402 else 16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16404 $as_echo "no" >&6; } 16405 fi 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> 16437 int 16438 main () 16439 { 16440 pthread_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 16447 if ac_fn_c_try_link "$LINENO"; then : 16448 acx_pthread_ok=yes 16449 fi 16450 rm -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="" 16464 done 16465 fi 16466 16467 # Various other checks: 16468 if 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> 16482 int 16483 main () 16484 { 16485 int attr=$attr; return attr; 16486 ; 16487 return 0; 16488 } 16489 _ACEOF 16490 if ac_fn_c_try_link "$LINENO"; then : 16491 attr_name=$attr; break 16492 fi 16493 rm -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 16500 cat >>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 16525 do 16526 # Extract the first word of "$ac_prog", so it can be a program name with args. 16527 set 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; } 16530 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then : 16531 $as_echo_n "(cached) " >&6 16532 else 16533 if test -n "$PTHREAD_CC"; then 16534 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test. 16535 else 16536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16537 for as_dir in $PATH 16538 do 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 16547 done 16548 done 16549 IFS=$as_save_IFS 16550 16551 fi 16552 fi 16553 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC 16554 if test -n "$PTHREAD_CC"; then 16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5 16556 $as_echo "$PTHREAD_CC" >&6; } 16557 else 16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16559 $as_echo "no" >&6; } 16560 fi 16561 16562 16563 test -n "$PTHREAD_CC" && break 16564 done 16565 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}" 16566 16567 else 16568 PTHREAD_CC=$CC 16569 fi 16570 else 16571 PTHREAD_CC="$CC" 16572 fi 16573 16574 16575 16576 16577 16578 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: 16579 if test x"$acx_pthread_ok" = xyes; then 16580 16581 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h 16582 16583 : 16584 else 16585 acx_pthread_ok=no 16586 16587 fi 16588 ac_ext=c 16589 ac_cpp='$CPP $CPPFLAGS' 16590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16592 ac_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; } 16598 if test "${ac_cv_lib_readline_readline+set}" = set; then : 16599 $as_echo_n "(cached) " >&6 16600 else 16601 ac_check_lib_save_LIBS=$LIBS 16602 LIBS="-lreadline $LIBS" 16603 cat 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 16610 extern "C" 16611 #endif 16612 char readline (); 16613 int 16614 main () 16615 { 16616 return readline (); 16617 ; 16618 return 0; 16619 } 16620 _ACEOF 16621 if ac_fn_c_try_link "$LINENO"; then : 16622 ac_cv_lib_readline_readline=yes 16623 else 16624 ac_cv_lib_readline_readline=no 16625 fi 16626 rm -f core conftest.err conftest.$ac_objext \ 16627 conftest$ac_exeext conftest.$ac_ext 16628 LIBS=$ac_check_lib_save_LIBS 16629 fi 16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 16631 $as_echo "$ac_cv_lib_readline_readline" >&6; } 16632 if 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 16639 else 16640 16641 echo "Error! libreadline not found in default libarary paths." 16642 exit -1 16643 16644 16645 fi 16646 16647 for ac_header in readline/readline.h 16648 do : 16649 ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default" 16650 if 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 16655 else 16656 16657 echo "Error! readline/readline.h not properly installed in default include path (maybe readline-dev missing)." 16658 exit -1 16659 16660 16661 fi 16662 16663 done 16664 16665 16666 16667 for ac_header in panel.h 16668 do : 16669 ac_fn_c_check_header_mongrel "$LINENO" "panel.h" "ac_cv_header_panel_h" "$ac_includes_default" 16670 if test "x$ac_cv_header_panel_h" = x""yes; then : 16671 cat >>confdefs.h <<_ACEOF 16672 #define HAVE_PANEL_H 1 16673 _ACEOF 16674 16675 else 16676 16677 echo "Error! Ncurses panel.h not properly installed in default include paths." 16678 exit -1 16679 16680 16681 fi 16682 16683 done 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; } 16687 if test "${ac_cv_lib_panel_update_panels+set}" = set; then : 16688 $as_echo_n "(cached) " >&6 16689 else 16690 ac_check_lib_save_LIBS=$LIBS 16691 LIBS="-lpanel $LIBS" 16692 cat 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 16699 extern "C" 16700 #endif 16701 char update_panels (); 16702 int 16703 main () 16704 { 16705 return update_panels (); 16706 ; 16707 return 0; 16708 } 16709 _ACEOF 16710 if ac_fn_c_try_link "$LINENO"; then : 16711 ac_cv_lib_panel_update_panels=yes 16712 else 16713 ac_cv_lib_panel_update_panels=no 16714 fi 16715 rm -f core conftest.err conftest.$ac_objext \ 16716 conftest$ac_exeext conftest.$ac_ext 16717 LIBS=$ac_check_lib_save_LIBS 16718 fi 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; } 16721 if 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 16728 else 16729 16730 echo "Error! Ncurses libpanel not properly installed in the default libarary paths." 16731 exit -1 16732 16733 16734 fi 16735 16736 16737 ac_ext=cpp 16738 ac_cpp='$CXXCPP $CPPFLAGS' 16739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16741 ac_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 16768 ac_ext=c 16769 ac_cpp='$CPP $CPPFLAGS' 16770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16772 ac_compiler_gnu=$ac_cv_c_compiler_gnu 16773 16774 16775 for ac_header in Mrm/MrmAppl.h Xm/Xm.h 16776 do : 16777 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16778 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 16779 if 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 16784 else 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 16790 fi 16791 16792 done 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; } 16797 if test "${ac_cv_lib_Xm_XtToolkitInitialize+set}" = set; then : 16798 $as_echo_n "(cached) " >&6 16799 else 16800 ac_check_lib_save_LIBS=$LIBS 16801 LIBS="-lXm $LIBS" 16802 cat 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 16809 extern "C" 16810 #endif 16811 char XtToolkitInitialize (); 16812 int 16813 main () 16814 { 16815 return XtToolkitInitialize (); 16816 ; 16817 return 0; 16818 } 16819 _ACEOF 16820 if ac_fn_c_try_link "$LINENO"; then : 16821 ac_cv_lib_Xm_XtToolkitInitialize=yes 16822 else 16823 ac_cv_lib_Xm_XtToolkitInitialize=no 16824 fi 16825 rm -f core conftest.err conftest.$ac_objext \ 16826 conftest$ac_exeext conftest.$ac_ext 16827 LIBS=$ac_check_lib_save_LIBS 16828 fi 16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XtToolkitInitialize" >&5 16830 $as_echo "$ac_cv_lib_Xm_XtToolkitInitialize" >&6; } 16831 if 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 16838 else 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 16844 fi 16845 16846 16847 ac_ext=cpp 16848 ac_cpp='$CXXCPP $CPPFLAGS' 16849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16851 ac_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. 16862 if 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" 16864 fi 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. 16904 if 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++" 16907 else 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" 16910 fi 16911 16912 16913 # Check whether --with-mysqlpp-lib was given. 16914 if 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" 16916 fi 16917 16918 16919 # Check whether --with-mysqlpp-include was given. 16920 if 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" 16922 fi 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; } 16927 if test "${ac_cv_mysqlpp_lib+set}" = set; then : 16928 $as_echo_n "(cached) " >&6 16929 else 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 16952 fi 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; } 16960 if test "${ac_cv_mysqlpp_inc+set}" = set; then : 16961 $as_echo_n "(cached) " >&6 16962 else 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 16983 fi 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> 16999 int 17000 main () 17001 { 17002 mysqlpp::Connection c(false) 17003 ; 17004 return 0; 17005 } 17006 _ACEOF 17007 if ac_fn_cxx_try_compile "$LINENO"; then : 17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17009 $as_echo "yes" >&6; } 17010 else 17011 as_fn_error $? "no" "$LINENO" 5 17012 fi 17013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17014 17015 17016 ###################################################################### 16245 17017 # BOOST SUPPORT 16246 17018 ###################################################################### … … 18086 18858 #ax_boost_wserialization 18087 18859 18088 ######################################################################18089 # ROOT SUPPORT18090 ######################################################################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=$withval18098 else18099 user_rootsys="none"18100 fi18101 18102 if test ! x"$user_rootsys" = xnone; then18103 rootbin="$user_rootsys/bin"18104 elif test ! x"$ROOTSYS" = x ; then18105 rootbin="$ROOTSYS/bin"18106 else18107 rootbin=$PATH18108 fi18109 # Extract the first word of "root-config ", so it can be a program name with args.18110 set dummy root-config ; ac_word=$218111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&518112 $as_echo_n "checking for $ac_word... " >&6; }18113 if test "${ac_cv_path_ROOTCONF+set}" = set; then :18114 $as_echo_n "(cached) " >&618115 else18116 case $ROOTCONF in18117 [\\/]* | ?:[\\/]*)18118 ac_cv_path_ROOTCONF="$ROOTCONF" # Let the user override the test with a path.18119 ;;18120 *)18121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR18122 for as_dir in $rootbin18123 do18124 IFS=$as_save_IFS18125 test -z "$as_dir" && as_dir=.18126 for ac_exec_ext in '' $ac_executable_extensions; do18127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18128 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" >&518130 break 218131 fi18132 done18133 done18134 IFS=$as_save_IFS18135 18136 test -z "$ac_cv_path_ROOTCONF" && ac_cv_path_ROOTCONF="no"18137 ;;18138 esac18139 fi18140 ROOTCONF=$ac_cv_path_ROOTCONF18141 if test -n "$ROOTCONF"; then18142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ROOTCONF" >&518143 $as_echo "$ROOTCONF" >&6; }18144 else18145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&518146 $as_echo "no" >&6; }18147 fi18148 18149 18150 # Extract the first word of "root ", so it can be a program name with args.18151 set dummy root ; ac_word=$218152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&518153 $as_echo_n "checking for $ac_word... " >&6; }18154 if test "${ac_cv_path_ROOTEXEC+set}" = set; then :18155 $as_echo_n "(cached) " >&618156 else18157 case $ROOTEXEC in18158 [\\/]* | ?:[\\/]*)18159 ac_cv_path_ROOTEXEC="$ROOTEXEC" # Let the user override the test with a path.18160 ;;18161 *)18162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR18163 for as_dir in $rootbin18164 do18165 IFS=$as_save_IFS18166 test -z "$as_dir" && as_dir=.18167 for ac_exec_ext in '' $ac_executable_extensions; do18168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18169 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" >&518171 break 218172 fi18173 done18174 done18175 IFS=$as_save_IFS18176 18177 test -z "$ac_cv_path_ROOTEXEC" && ac_cv_path_ROOTEXEC="no"18178 ;;18179 esac18180 fi18181 ROOTEXEC=$ac_cv_path_ROOTEXEC18182 if test -n "$ROOTEXEC"; then18183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ROOTEXEC" >&518184 $as_echo "$ROOTEXEC" >&6; }18185 else18186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&518187 $as_echo "no" >&6; }18188 fi18189 18190 18191 # Extract the first word of "rootcint ", so it can be a program name with args.18192 set dummy rootcint ; ac_word=$218193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&518194 $as_echo_n "checking for $ac_word... " >&6; }18195 if test "${ac_cv_path_ROOTCINT+set}" = set; then :18196 $as_echo_n "(cached) " >&618197 else18198 case $ROOTCINT in18199 [\\/]* | ?:[\\/]*)18200 ac_cv_path_ROOTCINT="$ROOTCINT" # Let the user override the test with a path.18201 ;;18202 *)18203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR18204 for as_dir in $rootbin18205 do18206 IFS=$as_save_IFS18207 test -z "$as_dir" && as_dir=.18208 for ac_exec_ext in '' $ac_executable_extensions; do18209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18210 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" >&518212 break 218213 fi18214 done18215 done18216 IFS=$as_save_IFS18217 18218 test -z "$ac_cv_path_ROOTCINT" && ac_cv_path_ROOTCINT="no"18219 ;;18220 esac18221 fi18222 ROOTCINT=$ac_cv_path_ROOTCINT18223 if test -n "$ROOTCINT"; then18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ROOTCINT" >&518225 $as_echo "$ROOTCINT" >&6; }18226 else18227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&518228 $as_echo "no" >&6; }18229 fi18230 18231 18232 18233 if test ! x"$ROOTCONF" = "xno" && \18234 test ! x"$ROOTCINT" = "xno" ; then18235 18236 # define some variables18237 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=$ROOTLIBDIR18246 ROOTVERSION=`$ROOTCONF --version`18247 ROOTSOVERSION=`dirname $ROOTVERSION`18248 18249 if test 5.12/00 ; then18250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking wether ROOT version >= 5.12/00" >&518251 $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 ; then18255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&518256 $as_echo "no" >&6; }18257 no_root="yes"18258 else18259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&518260 $as_echo "yes" >&6; }18261 fi18262 fi18263 else18264 # otherwise, we say no_root18265 no_root="yes"18266 fi18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 if test "x$no_root" = "x" ; then18281 :18282 else18283 :18284 fi18285 18286 # ROOTCONF full path to root-config18287 # ROOTEXEC full path to root18288 # ROOTCINT full path to rootcint18289 # ROOTLIBDIR Where the ROOT libraries are18290 # ROOTINCDIR Where the ROOT headers are18291 # ROOTETCDIR Where the ROOT configuration is18292 # ROOTCFLAGS Extra compiler flags18293 # ROOTLIBS ROOT basic libraries18294 # ROOTGLIBS ROOT basic + GUI libraries18295 # ROOTAUXLIBS Auxilary libraries and linker flags for ROOT18296 # ROOTAUXCFLAGS Auxilary compiler flags18297 # ROOTRPATH Same as ROOTLIBDIR18298 18299 18300 ac_ext=c18301 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_gnu18305 18306 18307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&518308 $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) " >&618311 else18312 ac_check_lib_save_LIBS=$LIBS18313 LIBS="-lpthread $LIBS"18314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext18315 /* 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 GCC18319 builtin and then its argument prototype would still apply. */18320 #ifdef __cplusplus18321 extern "C"18322 #endif18323 char pthread_create ();18324 int18325 main ()18326 {18327 return pthread_create ();18328 ;18329 return 0;18330 }18331 _ACEOF18332 if ac_fn_c_try_link "$LINENO"; then :18333 ac_cv_lib_pthread_pthread_create=yes18334 else18335 ac_cv_lib_pthread_pthread_create=no18336 fi18337 rm -f core conftest.err conftest.$ac_objext \18338 conftest$ac_exeext conftest.$ac_ext18339 LIBS=$ac_check_lib_save_LIBS18340 fi18341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&518342 $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 <<_ACEOF18345 #define HAVE_LIBPTHREAD 118346 _ACEOF18347 18348 LIBS="-lpthread $LIBS"18349 18350 else18351 18352 echo "Error! libpthread not found in default libarary paths."18353 exit -118354 18355 18356 fi18357 18358 for ac_header in pthread.h18359 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 <<_ACEOF18363 #define HAVE_PTHREAD_H 118364 _ACEOF18365 18366 else18367 18368 echo "Error! pthread.h not properly installed in default include paths."18369 exit -118370 18371 18372 fi18373 18374 done18375 18376 18377 18378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&518379 $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) " >&618382 else18383 ac_check_lib_save_LIBS=$LIBS18384 LIBS="-lreadline $LIBS"18385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext18386 /* 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 GCC18390 builtin and then its argument prototype would still apply. */18391 #ifdef __cplusplus18392 extern "C"18393 #endif18394 char readline ();18395 int18396 main ()18397 {18398 return readline ();18399 ;18400 return 0;18401 }18402 _ACEOF18403 if ac_fn_c_try_link "$LINENO"; then :18404 ac_cv_lib_readline_readline=yes18405 else18406 ac_cv_lib_readline_readline=no18407 fi18408 rm -f core conftest.err conftest.$ac_objext \18409 conftest$ac_exeext conftest.$ac_ext18410 LIBS=$ac_check_lib_save_LIBS18411 fi18412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&518413 $as_echo "$ac_cv_lib_readline_readline" >&6; }18414 if test "x$ac_cv_lib_readline_readline" = x""yes; then :18415 cat >>confdefs.h <<_ACEOF18416 #define HAVE_LIBREADLINE 118417 _ACEOF18418 18419 LIBS="-lreadline $LIBS"18420 18421 else18422 18423 echo "Error! libreadline not found in default libarary paths."18424 exit -118425 18426 18427 fi18428 18429 for ac_header in readline/readline.h18430 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 <<_ACEOF18434 #define HAVE_READLINE_READLINE_H 118435 _ACEOF18436 18437 else18438 18439 echo "Error! readline/readline.h not properly installed in default include path (maybe readline-dev missing)."18440 exit -118441 18442 18443 fi18444 18445 done18446 18447 18448 18449 for ac_header in panel.h18450 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 <<_ACEOF18454 #define HAVE_PANEL_H 118455 _ACEOF18456 18457 else18458 18459 echo "Error! Ncurses panel.h not properly installed in default include paths."18460 exit -118461 18462 18463 fi18464 18465 done18466 18467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for update_panels in -lpanel" >&518468 $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) " >&618471 else18472 ac_check_lib_save_LIBS=$LIBS18473 LIBS="-lpanel $LIBS"18474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext18475 /* 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 GCC18479 builtin and then its argument prototype would still apply. */18480 #ifdef __cplusplus18481 extern "C"18482 #endif18483 char update_panels ();18484 int18485 main ()18486 {18487 return update_panels ();18488 ;18489 return 0;18490 }18491 _ACEOF18492 if ac_fn_c_try_link "$LINENO"; then :18493 ac_cv_lib_panel_update_panels=yes18494 else18495 ac_cv_lib_panel_update_panels=no18496 fi18497 rm -f core conftest.err conftest.$ac_objext \18498 conftest$ac_exeext conftest.$ac_ext18499 LIBS=$ac_check_lib_save_LIBS18500 fi18501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_panel_update_panels" >&518502 $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 <<_ACEOF18505 #define HAVE_LIBPANEL 118506 _ACEOF18507 18508 LIBS="-lpanel $LIBS"18509 18510 else18511 18512 echo "Error! Ncurses libpanel not properly installed in the default libarary paths."18513 exit -118514 18515 18516 fi18517 18518 18519 18520 for ac_header in Mrm/MrmAppl.h Xm/Xm.h18521 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 <<_ACEOF18526 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 118527 _ACEOF18528 18529 else18530 18531 echo "Error! Mrm/MrmAppl.h, Xm/Xm.h not properly installed, needed to compile did (you need most probably lesstif2-dev)."18532 exit -118533 18534 18535 fi18536 18537 done18538 18539 18540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtToolkitInitialize in -lXm" >&518541 $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) " >&618544 else18545 ac_check_lib_save_LIBS=$LIBS18546 LIBS="-lXm $LIBS"18547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext18548 /* 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 GCC18552 builtin and then its argument prototype would still apply. */18553 #ifdef __cplusplus18554 extern "C"18555 #endif18556 char XtToolkitInitialize ();18557 int18558 main ()18559 {18560 return XtToolkitInitialize ();18561 ;18562 return 0;18563 }18564 _ACEOF18565 if ac_fn_c_try_link "$LINENO"; then :18566 ac_cv_lib_Xm_XtToolkitInitialize=yes18567 else18568 ac_cv_lib_Xm_XtToolkitInitialize=no18569 fi18570 rm -f core conftest.err conftest.$ac_objext \18571 conftest$ac_exeext conftest.$ac_ext18572 LIBS=$ac_check_lib_save_LIBS18573 fi18574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XtToolkitInitialize" >&518575 $as_echo "$ac_cv_lib_Xm_XtToolkitInitialize" >&6; }18576 if test "x$ac_cv_lib_Xm_XtToolkitInitialize" = x""yes; then :18577 cat >>confdefs.h <<_ACEOF18578 #define HAVE_LIBXM 118579 _ACEOF18580 18581 LIBS="-lXm $LIBS"18582 18583 else18584 18585 echo "Error! libXm (lesstif2) not properly installed in the default library path (needed by dim to link did)."18586 exit -118587 18588 18589 fi18590 18591 18592 ac_ext=cpp18593 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_gnu18597 18598 18599 18860 #AC_CHECK_HEADERS( 18600 18861 # [\ … … 18618 18879 #) 18619 18880 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 18666 18902 18667 18903 18668 18904 ########################################################################### 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 18773 18906 18774 18907 #AC_C_CONST 18775 18908 #AC_TYPE_PID_T 18776 18909 #AC_HEADER_STDC 18777 18778 18779 18910 18780 18911 ########################################################################## … … 18802 18933 # 18803 18934 #AC_SUBST([AM_CXXFLAGS]) 18804 18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18935 18815 18936 … … 19642 19763 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 19643 19764 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 19765 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 19644 19766 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 19645 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'19646 19767 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 19647 19768 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' … … 20478 20599 macro_revision=$macro_revision 20479 20600 20601 # Whether or not to build static libraries. 20602 build_old_libs=$enable_static 20603 20480 20604 # Whether or not to build shared libraries. 20481 20605 build_libtool_libs=$enable_shared 20482 20483 # Whether or not to build static libraries.20484 build_old_libs=$enable_static20485 20606 20486 20607 # What type of objects to build.
Note:
See TracChangeset
for help on using the changeset viewer.