Changeset 10211 for trunk/FACT++/configure
- Timestamp:
- 03/02/11 11:06:46 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/configure
r10207 r10211 773 773 X_CFLAGS 774 774 XMKMF 775 READLINE_INCLUDES 776 READLINE_LIBS 775 777 PTHREAD_CFLAGS 776 778 PTHREAD_LIBS … … 958 960 enable_doxygen_ps 959 961 enable_doxygen_pdf 962 with_readline 960 963 with_x 961 964 with_motif_includes … … 1641 1644 both] 1642 1645 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1646 --with-readline[=dir] Compile with readline/locate base dir 1643 1647 --with-x use the X Window System 1644 1648 --with-motif-includes=DIR Motif include files are in DIR … … 4245 4249 lt_cv_nm_interface="BSD nm" 4246 4250 echo "int some_variable = 0;" > conftest.$ac_ext 4247 (eval echo "\"\$as_me:42 47: $ac_compile\"" >&5)4251 (eval echo "\"\$as_me:4251: $ac_compile\"" >&5) 4248 4252 (eval "$ac_compile" 2>conftest.err) 4249 4253 cat conftest.err >&5 4250 (eval echo "\"\$as_me:425 0: $NM \\\"conftest.$ac_objext\\\"\"" >&5)4254 (eval echo "\"\$as_me:4254: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4251 4255 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4252 4256 cat conftest.err >&5 4253 (eval echo "\"\$as_me:425 3: output\"" >&5)4257 (eval echo "\"\$as_me:4257: output\"" >&5) 4254 4258 cat conftest.out >&5 4255 4259 if $GREP 'External.*some_variable' conftest.out > /dev/null; then … … 5457 5461 *-*-irix6*) 5458 5462 # Find out which ABI we are using. 5459 echo '#line 54 59"configure"' > conftest.$ac_ext5463 echo '#line 5463 "configure"' > conftest.$ac_ext 5460 5464 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5461 5465 (eval $ac_compile) 2>&5 … … 7385 7389 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7386 7390 -e 's:$: $lt_compiler_flag:'` 7387 (eval echo "\"\$as_me:73 87: $lt_compile\"" >&5)7391 (eval echo "\"\$as_me:7391: $lt_compile\"" >&5) 7388 7392 (eval "$lt_compile" 2>conftest.err) 7389 7393 ac_status=$? 7390 7394 cat conftest.err >&5 7391 echo "$as_me:739 1: \$? = $ac_status" >&57395 echo "$as_me:7395: \$? = $ac_status" >&5 7392 7396 if (exit $ac_status) && test -s "$ac_outfile"; then 7393 7397 # The compiler can only warn and ignore the option if not recognized … … 7724 7728 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7725 7729 -e 's:$: $lt_compiler_flag:'` 7726 (eval echo "\"\$as_me:77 26: $lt_compile\"" >&5)7730 (eval echo "\"\$as_me:7730: $lt_compile\"" >&5) 7727 7731 (eval "$lt_compile" 2>conftest.err) 7728 7732 ac_status=$? 7729 7733 cat conftest.err >&5 7730 echo "$as_me:773 0: \$? = $ac_status" >&57734 echo "$as_me:7734: \$? = $ac_status" >&5 7731 7735 if (exit $ac_status) && test -s "$ac_outfile"; then 7732 7736 # The compiler can only warn and ignore the option if not recognized … … 7829 7833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7830 7834 -e 's:$: $lt_compiler_flag:'` 7831 (eval echo "\"\$as_me:783 1: $lt_compile\"" >&5)7835 (eval echo "\"\$as_me:7835: $lt_compile\"" >&5) 7832 7836 (eval "$lt_compile" 2>out/conftest.err) 7833 7837 ac_status=$? 7834 7838 cat out/conftest.err >&5 7835 echo "$as_me:783 5: \$? = $ac_status" >&57839 echo "$as_me:7839: \$? = $ac_status" >&5 7836 7840 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7837 7841 then … … 7884 7888 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7885 7889 -e 's:$: $lt_compiler_flag:'` 7886 (eval echo "\"\$as_me:78 86: $lt_compile\"" >&5)7890 (eval echo "\"\$as_me:7890: $lt_compile\"" >&5) 7887 7891 (eval "$lt_compile" 2>out/conftest.err) 7888 7892 ac_status=$? 7889 7893 cat out/conftest.err >&5 7890 echo "$as_me:789 0: \$? = $ac_status" >&57894 echo "$as_me:7894: \$? = $ac_status" >&5 7891 7895 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7892 7896 then … … 10268 10272 lt_status=$lt_dlunknown 10269 10273 cat > conftest.$ac_ext <<_LT_EOF 10270 #line 1027 0"configure"10274 #line 10274 "configure" 10271 10275 #include "confdefs.h" 10272 10276 … … 10364 10368 lt_status=$lt_dlunknown 10365 10369 cat > conftest.$ac_ext <<_LT_EOF 10366 #line 103 66"configure"10370 #line 10370 "configure" 10367 10371 #include "confdefs.h" 10368 10372 … … 12320 12324 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12321 12325 -e 's:$: $lt_compiler_flag:'` 12322 (eval echo "\"\$as_me:1232 2: $lt_compile\"" >&5)12326 (eval echo "\"\$as_me:12326: $lt_compile\"" >&5) 12323 12327 (eval "$lt_compile" 2>conftest.err) 12324 12328 ac_status=$? 12325 12329 cat conftest.err >&5 12326 echo "$as_me:123 26: \$? = $ac_status" >&512330 echo "$as_me:12330: \$? = $ac_status" >&5 12327 12331 if (exit $ac_status) && test -s "$ac_outfile"; then 12328 12332 # The compiler can only warn and ignore the option if not recognized … … 12419 12423 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12420 12424 -e 's:$: $lt_compiler_flag:'` 12421 (eval echo "\"\$as_me:1242 1: $lt_compile\"" >&5)12425 (eval echo "\"\$as_me:12425: $lt_compile\"" >&5) 12422 12426 (eval "$lt_compile" 2>out/conftest.err) 12423 12427 ac_status=$? 12424 12428 cat out/conftest.err >&5 12425 echo "$as_me:1242 5: \$? = $ac_status" >&512429 echo "$as_me:12429: \$? = $ac_status" >&5 12426 12430 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12427 12431 then … … 12471 12475 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12472 12476 -e 's:$: $lt_compiler_flag:'` 12473 (eval echo "\"\$as_me:1247 3: $lt_compile\"" >&5)12477 (eval echo "\"\$as_me:12477: $lt_compile\"" >&5) 12474 12478 (eval "$lt_compile" 2>out/conftest.err) 12475 12479 ac_status=$? 12476 12480 cat out/conftest.err >&5 12477 echo "$as_me:124 77: \$? = $ac_status" >&512481 echo "$as_me:12481: \$? = $ac_status" >&5 12478 12482 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12479 12483 then … … 16341 16345 16342 16346 16347 16343 16348 ac_ext=c 16344 16349 ac_cpp='$CPP $CPPFLAGS' … … 16685 16690 16686 16691 16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 16688 $as_echo_n "checking for readline in -lreadline... " >&6; } 16689 if test "${ac_cv_lib_readline_readline+set}" = set; then : 16690 $as_echo_n "(cached) " >&6 16691 else 16692 ac_check_lib_save_LIBS=$LIBS 16693 LIBS="-lreadline $LIBS" 16694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16695 /* end confdefs.h. */ 16696 16697 /* Override any GCC internal prototype to avoid an error. 16698 Use char because int might match the return type of a GCC 16699 builtin and then its argument prototype would still apply. */ 16700 #ifdef __cplusplus 16701 extern "C" 16702 #endif 16703 char readline (); 16704 int 16705 main () 16706 { 16707 return readline (); 16708 ; 16709 return 0; 16710 } 16711 _ACEOF 16712 if ac_fn_c_try_link "$LINENO"; then : 16713 ac_cv_lib_readline_readline=yes 16714 else 16715 ac_cv_lib_readline_readline=no 16716 fi 16717 rm -f core conftest.err conftest.$ac_objext \ 16718 conftest$ac_exeext conftest.$ac_ext 16719 LIBS=$ac_check_lib_save_LIBS 16720 fi 16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 16722 $as_echo "$ac_cv_lib_readline_readline" >&6; } 16723 if test "x$ac_cv_lib_readline_readline" = x""yes; then : 16724 cat >>confdefs.h <<_ACEOF 16725 #define HAVE_LIBREADLINE 1 16726 _ACEOF 16727 16728 LIBS="-lreadline $LIBS" 16729 16730 else 16731 16732 echo "Error! libreadline not found in default libarary paths." 16733 exit -1 16734 16735 16736 fi 16737 16738 for ac_header in readline/readline.h 16739 do : 16740 ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default" 16741 if test "x$ac_cv_header_readline_readline_h" = x""yes; then : 16742 cat >>confdefs.h <<_ACEOF 16743 #define HAVE_READLINE_READLINE_H 1 16744 _ACEOF 16745 16746 else 16747 16748 echo "Error! readline/readline.h not properly installed in default include path (maybe readline-dev missing)." 16749 exit -1 16750 16751 16752 fi 16753 16754 done 16755 16756 16692 CPPFLAGS+=" "$PTHREAD_CFLAGS" " 16693 LDFLAGS+=" "$PTHREAD_CFLAGS" " 16694 16695 16696 16697 16698 16699 16700 16701 # Check whether --with-readline was given. 16702 if test "${with_readline+set}" = set; then : 16703 withval=$with_readline; if test "x$withval" = "xno" ; then 16704 without_readline=yes 16705 elif test "x$withval" != "xyes" ; then 16706 with_arg="$withval/include:-L$withval/lib $withval/include/readline:-L$withval/lib" 16707 fi 16708 fi 16709 16710 16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline.h" >&5 16712 $as_echo_n "checking for readline.h... " >&6; } 16713 16714 if test "x$without_readline" != "xyes"; then 16715 for i in $with_arg \ 16716 /usr/include: \ 16717 /usr/local/include:-L/usr/local/lib \ 16718 /usr/freeware/include:-L/usr/freeware/lib32 \ 16719 /usr/pkg/include:-L/usr/pkg/lib \ 16720 /sw/include:-L/sw/lib \ 16721 /cw/include:-L/cw/lib \ 16722 /net/caladium/usr/people/piotr.nba/temp/pkg/include:-L/net/caladium/usr/people/piotr.nba/temp/pkg/lib \ 16723 /boot/home/config/include:-L/boot/home/config/lib; do 16724 16725 incl=`echo "$i" | sed 's/:.*//'` 16726 lib=`echo "$i" | sed 's/.*://'` 16727 16728 if test -f $incl/readline/readline.h ; then 16729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $incl/readline/readline.h" >&5 16730 $as_echo "$incl/readline/readline.h" >&6; } 16731 READLINE_LIBS="$lib -lreadline" 16732 if test "$incl" != "/usr/include"; then 16733 READLINE_INCLUDES="-I$incl/readline -I$incl" 16734 else 16735 READLINE_INCLUDES="-I$incl/readline" 16736 fi 16737 16738 $as_echo "#define HAVE_READLINE 1" >>confdefs.h 16739 16740 have_readline=yes 16741 break 16742 elif test -f $incl/readline.h -a "x$incl" != "x/usr/include"; then 16743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $incl/readline.h" >&5 16744 $as_echo "$incl/readline.h" >&6; } 16745 READLINE_LIBS="$lib -lreadline" 16746 READLINE_INCLUDES="-I$incl" 16747 16748 $as_echo "#define HAVE_READLINE 1" >>confdefs.h 16749 16750 have_readline=yes 16751 break 16752 fi 16753 done 16754 fi 16755 16756 if test "x$have_readline" != "xyes"; then 16757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16758 $as_echo "not found" >&6; } 16759 fi 16760 16761 16762 CPPFLAGS+=" "$READLINE_INCLUDES" " 16763 LDFLAGS+=" "$READLINE_LIBS" " 16764 16765 #AC_CHECK_LIB(readline, readline, [], 16766 # [ 16767 # echo "Error! libreadline not found in default libarary paths." 16768 # exit -1 16769 # ] 16770 #) 16771 #AC_CHECK_HEADERS(readline/readline.h, [], 16772 # [ 16773 # echo "Error! readline/readline.h not properly installed in default include path (maybe readline-dev missing)." 16774 # exit -1 16775 # ] 16776 #) 16777 # 16757 16778 16758 16779 for ac_header in panel.h … … 16832 16853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 16833 16854 16834 16835 ######################################################################16836 # pthread support16837 ######################################################################16838 16839 #AX_PTHREAD16840 #16841 #AC_CHECK_LIB(pthread, pthread_create,16842 # [],16843 # [16844 # echo "Error! libpthread not found in default libarary paths."16845 # exit -116846 # ]16847 #)16848 #AC_CHECK_HEADERS(pthread.h, [],16849 # [16850 # echo "Error! pthread.h not properly installed in default include paths."16851 # exit -116852 # ]16853 #)16854 16855 16855 16856 ###################################################################### … … 17901 17902 17902 17903 17904 CPPFLAGS+=" "$MOTIF_INCL" " 17905 LDFLAGS+=" "$MOTIF_LDFLAGS" " 17906 17907 #AC_CHECK_HEADERS([Mrm/MrmAppl.h], [], 17908 # [ 17909 # echo "Error! Mrm/MrmAppl.h not properly installed, needed to compile did (you need most probably lesstif2-dev)." 17910 # exit -1 17911 # ] 17912 #) 17913 17903 17914 ###################################################################### 17904 17915 # MySQL(++) SUPPORT … … 18062 18073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18063 18074 18075 18076 LDFLAGS+=" -lmysqlpp " 18064 18077 18065 18078 ###################################################################### … … 19906 19919 #ax_boost_wave 19907 19920 #ax_boost_wserialization 19921 19922 LDFLAGS+=" -lboost_date_time" 19923 LDFLAGS+=" -lboost_filesystem" 19924 LDFLAGS+=" -lboost_program_options" 19925 LDFLAGS+=" -lboost_regex" 19926 LDFLAGS+=" -lboost_system" 19927 LDFLAGS+=" -lboost_thread " 19908 19928 19909 19929 #AC_CHECK_HEADERS(
Note:
See TracChangeset
for help on using the changeset viewer.