diff --git a/configure b/configure index e5b99fd5..e56703dd 100644 --- a/configure +++ b/configure @@ -998,8 +998,10 @@ if test "${with_boost+set}" = set; then fi; if test "x$boost_base" = "x"; then - boost_base=`expr "x$0" : 'x\(.*\)/^/*' \| '.'` + #echo '$0 = ' $0 + boost_base=`expr "x$0" : 'x\(.*\)/[/]*' \| '.'` boost_base="$boost_base/../.." + #echo boost_base=$boost_base if test -f "$boost_base/boost/config.hpp"; then if test -f "$boost_base/libs/config/configure"; then :; else boost_base= @@ -1008,24 +1010,13 @@ if test "x$boost_base" = "x"; then boost_base= fi fi -if test "x$boost_base" = "x"; then - for d in /usr/local /usr/local/lib /usr/local/src $HOME $HOME/lib $HOME/src ./ ../ ../../ - do - if test -f "$d/boost/config.hpp"; then - if test -f "$d/libs/config/configure"; then - boost_base="$d" - break - fi - fi - done -fi if test "x$boost_base" != "x"; then - echo "$as_me:1023: result: $boost_base" >&5 + echo "$as_me:1014: result: $boost_base" >&5 echo "${ECHO_T}$boost_base" >&6 else - echo "$as_me:1026: result: not found" >&5 + echo "$as_me:1017: result: not found" >&5 echo "${ECHO_T}not found" >&6 - { { echo "$as_me:1028: error: The boost main tree was not found. + { { echo "$as_me:1019: error: The boost main tree was not found. Specify its location by the --with-boost option." >&5 echo "$as_me: error: The boost main tree was not found. Specify its location by the --with-boost option." >&2;} @@ -1045,7 +1036,7 @@ if test -n "$ac_tool_prefix"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -echo "$as_me:1048: checking for $ac_word" >&5 +echo "$as_me:1039: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1060,7 +1051,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" -echo "$as_me:1063: found $ac_dir/$ac_word" >&5 +echo "$as_me:1054: found $ac_dir/$ac_word" >&5 break done @@ -1068,10 +1059,10 @@ fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then - echo "$as_me:1071: result: $CXX" >&5 + echo "$as_me:1062: result: $CXX" >&5 echo "${ECHO_T}$CXX" >&6 else - echo "$as_me:1074: result: no" >&5 + echo "$as_me:1065: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1084,7 +1075,7 @@ if test -z "$CXX"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:1087: checking for $ac_word" >&5 +echo "$as_me:1078: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1099,7 +1090,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_CXX="$ac_prog" -echo "$as_me:1102: found $ac_dir/$ac_word" >&5 +echo "$as_me:1093: found $ac_dir/$ac_word" >&5 break done @@ -1107,10 +1098,10 @@ fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then - echo "$as_me:1110: result: $ac_ct_CXX" >&5 + echo "$as_me:1101: result: $ac_ct_CXX" >&5 echo "${ECHO_T}$ac_ct_CXX" >&6 else - echo "$as_me:1113: result: no" >&5 + echo "$as_me:1104: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1122,27 +1113,27 @@ test -n "$ac_ct_CXX" || ac_ct_CXX="g++" fi # Provide some information about the compiler. -echo "$as_me:1125:" \ +echo "$as_me:1116:" \ "checking for C++ compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` -{ (eval echo "$as_me:1128: \"$ac_compiler --version &5\"") >&5 +{ (eval echo "$as_me:1119: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? - echo "$as_me:1131: \$? = $ac_status" >&5 + echo "$as_me:1122: \$? = $ac_status" >&5 (exit $ac_status); } -{ (eval echo "$as_me:1133: \"$ac_compiler -v &5\"") >&5 +{ (eval echo "$as_me:1124: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? - echo "$as_me:1136: \$? = $ac_status" >&5 + echo "$as_me:1127: \$? = $ac_status" >&5 (exit $ac_status); } -{ (eval echo "$as_me:1138: \"$ac_compiler -V &5\"") >&5 +{ (eval echo "$as_me:1129: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? - echo "$as_me:1141: \$? = $ac_status" >&5 + echo "$as_me:1132: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF -#line 1145 "configure" +#line 1136 "configure" #include "confdefs.h" int @@ -1158,13 +1149,13 @@ ac_clean_files="$ac_clean_files a.out a.exe" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -echo "$as_me:1161: checking for C++ compiler default output" >&5 +echo "$as_me:1152: checking for C++ compiler default output" >&5 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -if { (eval echo "$as_me:1164: \"$ac_link_default\"") >&5 +if { (eval echo "$as_me:1155: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? - echo "$as_me:1167: \$? = $ac_status" >&5 + echo "$as_me:1158: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last @@ -1187,34 +1178,34 @@ done else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -{ { echo "$as_me:1190: error: C++ compiler cannot create executables" >&5 +{ { echo "$as_me:1181: error: C++ compiler cannot create executables" >&5 echo "$as_me: error: C++ compiler cannot create executables" >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext -echo "$as_me:1196: result: $ac_file" >&5 +echo "$as_me:1187: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -echo "$as_me:1201: checking whether the C++ compiler works" >&5 +echo "$as_me:1192: checking whether the C++ compiler works" >&5 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' - { (eval echo "$as_me:1207: \"$ac_try\"") >&5 + { (eval echo "$as_me:1198: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1210: \$? = $ac_status" >&5 + echo "$as_me:1201: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else - { { echo "$as_me:1217: error: cannot run C++ compiled programs. + { { echo "$as_me:1208: error: cannot run C++ compiled programs. If you meant to cross compile, use \`--host'." >&5 echo "$as_me: error: cannot run C++ compiled programs. If you meant to cross compile, use \`--host'." >&2;} @@ -1222,24 +1213,24 @@ If you meant to cross compile, use \`--host'." >&2;} fi fi fi -echo "$as_me:1225: result: yes" >&5 +echo "$as_me:1216: result: yes" >&5 echo "${ECHO_T}yes" >&6 rm -f a.out a.exe conftest$ac_cv_exeext ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -echo "$as_me:1232: checking whether we are cross compiling" >&5 +echo "$as_me:1223: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 -echo "$as_me:1234: result: $cross_compiling" >&5 +echo "$as_me:1225: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 -echo "$as_me:1237: checking for executable suffix" >&5 +echo "$as_me:1228: checking for executable suffix" >&5 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 -if { (eval echo "$as_me:1239: \"$ac_link\"") >&5 +if { (eval echo "$as_me:1230: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:1242: \$? = $ac_status" >&5 + echo "$as_me:1233: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will @@ -1255,25 +1246,25 @@ for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do esac done else - { { echo "$as_me:1258: error: cannot compute EXEEXT: cannot compile and link" >&5 + { { echo "$as_me:1249: error: cannot compute EXEEXT: cannot compile and link" >&5 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext -echo "$as_me:1264: result: $ac_cv_exeext" >&5 +echo "$as_me:1255: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT -echo "$as_me:1270: checking for object suffix" >&5 +echo "$as_me:1261: checking for object suffix" >&5 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 1276 "configure" +#line 1267 "configure" #include "confdefs.h" int @@ -1285,10 +1276,10 @@ main () } _ACEOF rm -f conftest.o conftest.obj -if { (eval echo "$as_me:1288: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1279: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1291: \$? = $ac_status" >&5 + echo "$as_me:1282: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in @@ -1300,24 +1291,24 @@ done else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -{ { echo "$as_me:1303: error: cannot compute OBJEXT: cannot compile" >&5 +{ { echo "$as_me:1294: error: cannot compute OBJEXT: cannot compile" >&5 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -echo "$as_me:1310: result: $ac_cv_objext" >&5 +echo "$as_me:1301: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -echo "$as_me:1314: checking whether we are using the GNU C++ compiler" >&5 +echo "$as_me:1305: checking whether we are using the GNU C++ compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 1320 "configure" +#line 1311 "configure" #include "confdefs.h" int @@ -1332,16 +1323,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:1335: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1326: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1338: \$? = $ac_status" >&5 + echo "$as_me:1329: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1341: \"$ac_try\"") >&5 + { (eval echo "$as_me:1332: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1344: \$? = $ac_status" >&5 + echo "$as_me:1335: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else @@ -1353,19 +1344,19 @@ rm -f conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi -echo "$as_me:1356: result: $ac_cv_cxx_compiler_gnu" >&5 +echo "$as_me:1347: result: $ac_cv_cxx_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 GXX=`test $ac_compiler_gnu = yes && echo yes` ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS CXXFLAGS="-g" -echo "$as_me:1362: checking whether $CXX accepts -g" >&5 +echo "$as_me:1353: checking whether $CXX accepts -g" >&5 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 1368 "configure" +#line 1359 "configure" #include "confdefs.h" int @@ -1377,16 +1368,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:1380: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1371: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1383: \$? = $ac_status" >&5 + echo "$as_me:1374: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1386: \"$ac_try\"") >&5 + { (eval echo "$as_me:1377: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1389: \$? = $ac_status" >&5 + echo "$as_me:1380: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cxx_g=yes else @@ -1396,7 +1387,7 @@ ac_cv_prog_cxx_g=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:1399: result: $ac_cv_prog_cxx_g" >&5 +echo "$as_me:1390: result: $ac_cv_prog_cxx_g" >&5 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS @@ -1423,7 +1414,7 @@ for ac_declaration in \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF -#line 1426 "configure" +#line 1417 "configure" #include "confdefs.h" #include $ac_declaration @@ -1436,16 +1427,16 @@ exit (42); } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:1439: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1430: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1442: \$? = $ac_status" >&5 + echo "$as_me:1433: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1445: \"$ac_try\"") >&5 + { (eval echo "$as_me:1436: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1448: \$? = $ac_status" >&5 + echo "$as_me:1439: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -1455,7 +1446,7 @@ continue fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line 1458 "configure" +#line 1449 "configure" #include "confdefs.h" $ac_declaration int @@ -1467,16 +1458,16 @@ exit (42); } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:1470: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1461: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1473: \$? = $ac_status" >&5 + echo "$as_me:1464: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1476: \"$ac_try\"") >&5 + { (eval echo "$as_me:1467: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1479: \$? = $ac_status" >&5 + echo "$as_me:1470: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -1512,7 +1503,7 @@ else CXXFLAGS="-I$boost_base -I$boost_base/libs/config/test $CXXFLAGS -DBOOST_NO_CONFIG" fi -echo "$as_me:1515: checking for main in -lpthread" >&5 +echo "$as_me:1506: checking for main in -lpthread" >&5 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 if test "${ac_cv_lib_pthread_main+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1520,7 +1511,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 1523 "configure" +#line 1514 "configure" #include "confdefs.h" int @@ -1532,16 +1523,16 @@ main (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:1535: \"$ac_link\"") >&5 +if { (eval echo "$as_me:1526: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:1538: \$? = $ac_status" >&5 + echo "$as_me:1529: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:1541: \"$ac_try\"") >&5 + { (eval echo "$as_me:1532: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1544: \$? = $ac_status" >&5 + echo "$as_me:1535: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_pthread_main=yes else @@ -1552,7 +1543,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:1555: result: $ac_cv_lib_pthread_main" >&5 +echo "$as_me:1546: result: $ac_cv_lib_pthread_main" >&5 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 if test $ac_cv_lib_pthread_main = yes; then cat >>confdefs.h <&5 +echo "$as_me:1558: checking for main in -lm" >&5 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 if test "${ac_cv_lib_m_main+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1572,7 +1563,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 1575 "configure" +#line 1566 "configure" #include "confdefs.h" int @@ -1584,16 +1575,16 @@ main (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:1587: \"$ac_link\"") >&5 +if { (eval echo "$as_me:1578: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:1590: \$? = $ac_status" >&5 + echo "$as_me:1581: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:1593: \"$ac_try\"") >&5 + { (eval echo "$as_me:1584: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1596: \$? = $ac_status" >&5 + echo "$as_me:1587: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_m_main=yes else @@ -1604,7 +1595,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:1607: result: $ac_cv_lib_m_main" >&5 +echo "$as_me:1598: result: $ac_cv_lib_m_main" >&5 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 if test $ac_cv_lib_m_main = yes; then cat >>confdefs.h <&5 +echo "$as_me:1610: checking for main in -lrt" >&5 echo $ECHO_N "checking for main in -lrt... $ECHO_C" >&6 if test "${ac_cv_lib_rt_main+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1624,7 +1615,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lrt $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 1627 "configure" +#line 1618 "configure" #include "confdefs.h" int @@ -1636,16 +1627,16 @@ main (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:1639: \"$ac_link\"") >&5 +if { (eval echo "$as_me:1630: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:1642: \$? = $ac_status" >&5 + echo "$as_me:1633: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:1645: \"$ac_try\"") >&5 + { (eval echo "$as_me:1636: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1648: \$? = $ac_status" >&5 + echo "$as_me:1639: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_rt_main=yes else @@ -1656,7 +1647,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:1659: result: $ac_cv_lib_rt_main" >&5 +echo "$as_me:1650: result: $ac_cv_lib_rt_main" >&5 echo "${ECHO_T}$ac_cv_lib_rt_main" >&6 if test $ac_cv_lib_rt_main = yes; then cat >>confdefs.h <&5 + echo "$as_me:1680: checking $title (pass expected) " >&5 echo $ECHO_N "checking $title (pass expected) ... $ECHO_C" >&6 else - echo "$as_me:1692: checking $title " >&5 + echo "$as_me:1683: checking $title " >&5 echo $ECHO_N "checking $title ... $ECHO_C" >&6 fi cat >conftest.$ac_ext <<_ACEOF -#line 1696 "configure" +#line 1687 "configure" #include "confdefs.h" #include @@ -1721,24 +1712,24 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:1724: \"$ac_link\"") >&5 +if { (eval echo "$as_me:1715: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:1727: \$? = $ac_status" >&5 + echo "$as_me:1718: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:1730: \"$ac_try\"") >&5 + { (eval echo "$as_me:1721: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1733: \$? = $ac_status" >&5 + echo "$as_me:1724: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:1735: result: OK" >&5 + echo "$as_me:1726: result: OK" >&5 echo "${ECHO_T}OK" >&6 else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:1741: result: Failed" >&5 +echo "$as_me:1732: result: Failed" >&5 echo "${ECHO_T}Failed" >&6 required_defs="$macroname $required_defs" @@ -1748,10 +1739,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test $enable_test = 'yes'; then ac_ext=$use_ac_ext - echo "$as_me:1751: checking $title (fail expected) " >&5 + echo "$as_me:1742: checking $title (fail expected) " >&5 echo $ECHO_N "checking $title (fail expected) ... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 1754 "configure" +#line 1745 "configure" #include "confdefs.h" #include @@ -1779,25 +1770,25 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:1782: \"$ac_link\"") >&5 +if { (eval echo "$as_me:1773: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:1785: \$? = $ac_status" >&5 + echo "$as_me:1776: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:1788: \"$ac_try\"") >&5 + { (eval echo "$as_me:1779: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1791: \$? = $ac_status" >&5 + echo "$as_me:1782: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:1793: result: failed" >&5 + echo "$as_me:1784: result: failed" >&5 echo "${ECHO_T}failed" >&6 required_undefs="$macroname $required_undefs" else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:1800: result: OK" >&5 +echo "$as_me:1791: result: OK" >&5 echo "${ECHO_T}OK" >&6 fi @@ -1824,10 +1815,10 @@ for file in $boost_base/libs/config/test/boost_has*.cxx; do ac_ext=$use_ac_ext if test $enable_test = 'yes'; then - echo "$as_me:1827: checking $title (pass expected) " >&5 + echo "$as_me:1818: checking $title (pass expected) " >&5 echo $ECHO_N "checking $title (pass expected) ... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 1830 "configure" +#line 1821 "configure" #include "confdefs.h" #include @@ -1855,34 +1846,34 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:1858: \"$ac_link\"") >&5 +if { (eval echo "$as_me:1849: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:1861: \$? = $ac_status" >&5 + echo "$as_me:1852: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:1864: \"$ac_try\"") >&5 + { (eval echo "$as_me:1855: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1867: \$? = $ac_status" >&5 + echo "$as_me:1858: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:1869: result: OK" >&5 + echo "$as_me:1860: result: OK" >&5 echo "${ECHO_T}OK" >&6 else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:1875: result: Failed" >&5 +echo "$as_me:1866: result: Failed" >&5 echo "${ECHO_T}Failed" >&6 required_undefs="$macroname $required_undefs" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - echo "$as_me:1882: checking $title (fail expected) " >&5 + echo "$as_me:1873: checking $title (fail expected) " >&5 echo $ECHO_N "checking $title (fail expected) ... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 1885 "configure" +#line 1876 "configure" #include "confdefs.h" #include @@ -1910,19 +1901,19 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:1913: \"$ac_link\"") >&5 +if { (eval echo "$as_me:1904: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:1916: \$? = $ac_status" >&5 + echo "$as_me:1907: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:1919: \"$ac_try\"") >&5 + { (eval echo "$as_me:1910: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1922: \$? = $ac_status" >&5 + echo "$as_me:1913: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:1925: result: failed" >&5 + echo "$as_me:1916: result: failed" >&5 echo "${ECHO_T}failed" >&6 required_defs="$macroname $required_defs" @@ -1930,7 +1921,7 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 - echo "$as_me:1933: result: OK" >&5 + echo "$as_me:1924: result: OK" >&5 echo "${ECHO_T}OK" >&6 fi @@ -1939,10 +1930,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext else ac_ext=$use_ac_ext - echo "$as_me:1942: checking $title" >&5 + echo "$as_me:1933: checking $title" >&5 echo $ECHO_N "checking $title... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 1945 "configure" +#line 1936 "configure" #include "confdefs.h" #include @@ -1966,19 +1957,19 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:1969: \"$ac_link\"") >&5 +if { (eval echo "$as_me:1960: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:1972: \$? = $ac_status" >&5 + echo "$as_me:1963: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:1975: \"$ac_try\"") >&5 + { (eval echo "$as_me:1966: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1978: \$? = $ac_status" >&5 + echo "$as_me:1969: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:1981: result: Yes" >&5 + echo "$as_me:1972: result: Yes" >&5 echo "${ECHO_T}Yes" >&6 required_defs="$macroname $required_defs" @@ -1986,7 +1977,7 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 - echo "$as_me:1989: result: no" >&5 + echo "$as_me:1980: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2018,6 +2009,8 @@ else date_string=`date` +echo boost_base=$boost_base + cat > user.hpp << EOF // (C) Copyright Boost.org 2001. // Do not check in modified versions of this file, @@ -2120,7 +2113,7 @@ rm -f confdef2opt.sed : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:2123: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:2116: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL @@ -2285,7 +2278,7 @@ cat >>$CONFIG_STATUS <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:2288: error: ambiguous option: $1 + { { echo "$as_me:2281: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} @@ -2304,7 +2297,7 @@ Try \`$0 --help' for more information." >&2;} ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:2307: error: unrecognized option: $1 + -*) { { echo "$as_me:2300: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} @@ -2349,7 +2342,7 @@ do case "$ac_config_target" in # Handling of arguments. "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; - *) { { echo "$as_me:2352: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:2345: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac diff --git a/tools/configure.in b/tools/configure.in index 2b2a60e0..aab4b609 100644 --- a/tools/configure.in +++ b/tools/configure.in @@ -90,8 +90,10 @@ AC_ARG_WITH(boost, ] ) if test "x$boost_base" = "x"; then - boost_base=`expr "x$0" : 'x\(.*\)/[^/]*' \| '.'` + #echo '$0 = ' $0 + boost_base=`expr "x$0" : 'x\(.*\)/@<:@/@:>@*' \| '.'` boost_base="$boost_base/../.." + #echo boost_base=$boost_base if test -f "$boost_base/boost/config.hpp"; then if test -f "$boost_base/libs/config/configure"; then :; else boost_base= @@ -100,17 +102,6 @@ if test "x$boost_base" = "x"; then boost_base= fi fi -if test "x$boost_base" = "x"; then - for d in /usr/local /usr/local/lib /usr/local/src $HOME $HOME/lib $HOME/src ./ ../ ../../ - do - if test -f "$d/boost/config.hpp"; then - if test -f "$d/libs/config/configure"; then - boost_base="$d" - break - fi - fi - done -fi if test "x$boost_base" != "x"; then AC_MSG_RESULT([$boost_base]) else @@ -361,6 +352,8 @@ else date_string=`date` +echo boost_base=$boost_base + cat > user.hpp << EOF // (C) Copyright Boost.org 2001. // Do not check in modified versions of this file, @@ -446,3 +439,5 @@ fi + +