- Timestamp:
- Apr 20, 1998, 6:01:40 PM (26 years ago)
- Branches:
- (u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
- Children:
- 142b7b541ca90ee57fa4fdbb939c0550b008661c
- Parents:
- 53a2286dcf84c26398946a9e15b8e7ae21d6f144
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/configure
r53a228 r2e9262 3 3 # From configure.in Id: configure.in 4 4 # Guess values for system-dependent variables and create Makefiles. 5 # Generated automatically using autoconf version 2. 95 # Generated automatically using autoconf version 2.10 6 6 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 7 7 # … … 355 355 356 356 -version | --version | --versio | --versi | --vers) 357 echo "configure generated by autoconf version 2. 9"357 echo "configure generated by autoconf version 2.10" 358 358 exit 0 ;; 359 359 … … 1214 1214 1215 1215 1216 # get absolute path of srcdir to avoid some funny problems when 1217 # feeding our results to other peoples configure via cache 1218 if echo "$srcdir" | grep '^/' > /dev/null 2> /dev/null; then 1219 abssrcdir="$srcdir" 1220 else 1221 abssrcdir="`pwd`/$srcdir" 1222 fi 1216 # do not use `MKINSTALLDIRS' and `MAKEHEADER' since there may be 1217 # name clashes with other peoples configure scripts via 1218 # `config.cache'. Furthermore, we do not use cache at all to 1219 # avoid some nasty problems with our own development environment. 1220 unset ac_cv_path_FACTORY_MKINSTALLDIRS 1221 unset ac_cv_path_FACTORY_MAKEHEADER 1223 1222 # Extract the first word of "mkinstalldirs", so it can be a program name with args. 1224 1223 set dummy mkinstalldirs; ac_word=$2 1225 1224 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1226 if eval "test \"`echo '$''{'ac_cv_path_ MKINSTALLDIRS'+set}'`\" = set"; then1227 echo $ac_n "(cached) $ac_c" 1>&6 1228 else 1229 case "$ MKINSTALLDIRS" in1225 if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MKINSTALLDIRS'+set}'`\" = set"; then 1226 echo $ac_n "(cached) $ac_c" 1>&6 1227 else 1228 case "$FACTORY_MKINSTALLDIRS" in 1230 1229 /*) 1231 ac_cv_path_ MKINSTALLDIRS="$MKINSTALLDIRS" # Let the user override the test with a path.1230 ac_cv_path_FACTORY_MKINSTALLDIRS="$FACTORY_MKINSTALLDIRS" # Let the user override the test with a path. 1232 1231 ;; 1233 1232 *) 1234 1233 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1235 for ac_dir in $PATH:$ abssrcdir/bin; do1234 for ac_dir in $PATH:$srcdir/bin; do 1236 1235 test -z "$ac_dir" && ac_dir=. 1237 1236 if test -f $ac_dir/$ac_word; then 1238 ac_cv_path_ MKINSTALLDIRS="$ac_dir/$ac_word"1237 ac_cv_path_FACTORY_MKINSTALLDIRS="$ac_dir/$ac_word" 1239 1238 break 1240 1239 fi 1241 1240 done 1242 1241 IFS="$ac_save_ifs" 1243 test -z "$ac_cv_path_ MKINSTALLDIRS" && ac_cv_path_MKINSTALLDIRS="-mkdir"1242 test -z "$ac_cv_path_FACTORY_MKINSTALLDIRS" && ac_cv_path_FACTORY_MKINSTALLDIRS="-mkdir" 1244 1243 ;; 1245 1244 esac 1246 1245 fi 1247 MKINSTALLDIRS="$ac_cv_path_MKINSTALLDIRS"1248 if test -n "$ MKINSTALLDIRS"; then1249 echo "$ac_t""$ MKINSTALLDIRS" 1>&61246 FACTORY_MKINSTALLDIRS="$ac_cv_path_FACTORY_MKINSTALLDIRS" 1247 if test -n "$FACTORY_MKINSTALLDIRS"; then 1248 echo "$ac_t""$FACTORY_MKINSTALLDIRS" 1>&6 1250 1249 else 1251 1250 echo "$ac_t""no" 1>&6 … … 1255 1254 set dummy makeheader; ac_word=$2 1256 1255 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1257 if eval "test \"`echo '$''{'ac_cv_path_ MAKEHEADER'+set}'`\" = set"; then1258 echo $ac_n "(cached) $ac_c" 1>&6 1259 else 1260 case "$ MAKEHEADER" in1256 if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MAKEHEADER'+set}'`\" = set"; then 1257 echo $ac_n "(cached) $ac_c" 1>&6 1258 else 1259 case "$FACTORY_MAKEHEADER" in 1261 1260 /*) 1262 ac_cv_path_ MAKEHEADER="$MAKEHEADER" # Let the user override the test with a path.1261 ac_cv_path_FACTORY_MAKEHEADER="$FACTORY_MAKEHEADER" # Let the user override the test with a path. 1263 1262 ;; 1264 1263 *) 1265 1264 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1266 for ac_dir in $ abssrcdir/bin:$PATH; do1265 for ac_dir in $srcdir/bin:$PATH; do 1267 1266 test -z "$ac_dir" && ac_dir=. 1268 1267 if test -f $ac_dir/$ac_word; then 1269 ac_cv_path_ MAKEHEADER="$ac_dir/$ac_word"1268 ac_cv_path_FACTORY_MAKEHEADER="$ac_dir/$ac_word" 1270 1269 break 1271 1270 fi … … 1275 1274 esac 1276 1275 fi 1277 MAKEHEADER="$ac_cv_path_MAKEHEADER"1278 if test -n "$ MAKEHEADER"; then1279 echo "$ac_t""$ MAKEHEADER" 1>&61276 FACTORY_MAKEHEADER="$ac_cv_path_FACTORY_MAKEHEADER" 1277 if test -n "$FACTORY_MAKEHEADER"; then 1278 echo "$ac_t""$FACTORY_MAKEHEADER" 1>&6 1280 1279 else 1281 1280 echo "$ac_t""no" 1>&6 … … 1287 1286 # 1288 1287 echo $ac_n "checking for -lm""... $ac_c" 1>&6 1289 ac_lib_var=`echo m _atof | tr '.-/+' '___p'`1288 ac_lib_var=`echo m'_'atof | tr './+\055' '__p_'` 1290 1289 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1291 1290 echo $ac_n "(cached) $ac_c" 1>&6 … … 1294 1293 LIBS="-lm $LIBS" 1295 1294 cat > conftest.$ac_ext <<EOF 1296 #line 129 7"configure"1295 #line 1296 "configure" 1297 1296 #include "confdefs.h" 1298 1297 /* Override any gcc2 internal prototype to avoid an error. */ 1298 /* We use char because int might match the return type of a gcc2 1299 builtin and then its argument prototype would still apply. */ 1299 1300 char atof(); 1300 1301 … … 1304 1305 ; return 0; } 1305 1306 EOF 1306 if { (eval echo configure:130 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1307 if { (eval echo configure:1308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1307 1308 rm -rf conftest* 1308 1309 eval "ac_cv_lib_$ac_lib_var=yes" … … 1332 1333 if test "x$gmp_in_installation" != xyes; then 1333 1334 echo $ac_n "checking for -lgmp""... $ac_c" 1>&6 1334 ac_lib_var=`echo gmp _mpz_init | tr '.-/+' '___p'`1335 ac_lib_var=`echo gmp'_'mpz_init | tr './+\055' '__p_'` 1335 1336 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1336 1337 echo $ac_n "(cached) $ac_c" 1>&6 … … 1339 1340 LIBS="-lgmp $LIBS" 1340 1341 cat > conftest.$ac_ext <<EOF 1341 #line 134 2"configure"1342 #line 1343 "configure" 1342 1343 #include "confdefs.h" 1343 1344 /* Override any gcc2 internal prototype to avoid an error. */ 1345 /* We use char because int might match the return type of a gcc2 1346 builtin and then its argument prototype would still apply. */ 1344 1347 char mpz_init(); 1345 1348 … … 1349 1352 ; return 0; } 1350 1353 EOF 1351 if { (eval echo configure:135 2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1354 if { (eval echo configure:1355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1352 1355 rm -rf conftest* 1353 1356 eval "ac_cv_lib_$ac_lib_var=yes" … … 1395 1398 else 1396 1399 cat > conftest.$ac_ext <<EOF 1397 #line 1 398"configure"1400 #line 1401 "configure" 1398 1401 #include "confdefs.h" 1399 1402 #include <$ac_hdr> 1400 1403 EOF 1401 1404 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1402 { (eval echo configure:140 3: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1405 { (eval echo configure:1406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1403 1406 ac_err=`grep -v '^ *+' conftest.out` 1404 1407 if test -z "$ac_err"; then … … 1435 1438 else 1436 1439 cat > conftest.$ac_ext <<EOF 1437 #line 14 38"configure"1440 #line 1441 "configure" 1438 1441 #include "confdefs.h" 1439 1442 #include <$ac_hdr> 1440 1443 EOF 1441 1444 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1442 { (eval echo configure:144 3: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1445 { (eval echo configure:1446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1443 1446 ac_err=`grep -v '^ *+' conftest.out` 1444 1447 if test -z "$ac_err"; then … … 1475 1478 else 1476 1479 cat > conftest.$ac_ext <<EOF 1477 #line 14 78"configure"1480 #line 1481 "configure" 1478 1481 #include "confdefs.h" 1479 1482 #include <$ac_hdr> 1480 1483 EOF 1481 1484 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1482 { (eval echo configure:148 3: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1485 { (eval echo configure:1486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1483 1486 ac_err=`grep -v '^ *+' conftest.out` 1484 1487 if test -z "$ac_err"; then … … 1513 1516 else 1514 1517 cat > conftest.$ac_ext <<EOF 1515 #line 151 6"configure"1518 #line 1519 "configure" 1516 1519 #include "confdefs.h" 1517 1520 #include <$ac_hdr> 1518 1521 EOF 1519 1522 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1520 { (eval echo configure:152 1: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1523 { (eval echo configure:1524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1521 1524 ac_err=`grep -v '^ *+' conftest.out` 1522 1525 if test -z "$ac_err"; then … … 1554 1557 else 1555 1558 cat > conftest.$ac_ext <<EOF 1556 #line 15 57"configure"1559 #line 1560 "configure" 1557 1560 #include "confdefs.h" 1558 1561 #include <$ac_hdr> 1559 1562 EOF 1560 1563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1561 { (eval echo configure:156 2: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1564 { (eval echo configure:1565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1562 1565 ac_err=`grep -v '^ *+' conftest.out` 1563 1566 if test -z "$ac_err"; then … … 1597 1600 else 1598 1601 cat > conftest.$ac_ext <<EOF 1599 #line 160 0"configure"1602 #line 1603 "configure" 1600 1603 #include "confdefs.h" 1601 1604 #include <$ac_hdr> 1602 1605 EOF 1603 1606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1604 { (eval echo configure:160 5: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1607 { (eval echo configure:1608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1605 1608 ac_err=`grep -v '^ *+' conftest.out` 1606 1609 if test -z "$ac_err"; then … … 1655 1658 else 1656 1659 cat > conftest.$ac_ext <<EOF 1657 #line 16 58"configure"1660 #line 1661 "configure" 1658 1661 #include "confdefs.h" 1659 1662 main(){return(0);} 1660 1663 EOF 1661 { (eval echo configure:166 2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }1664 { (eval echo configure:1665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 1662 1665 if test -s conftest && (./conftest; exit) 2>/dev/null; then 1663 1666 ac_cv_c_cross=no … … 1687 1690 else 1688 1691 cat > conftest.$ac_ext <<EOF 1689 #line 169 0"configure"1692 #line 1693 "configure" 1690 1693 #include "confdefs.h" 1691 1694 … … 1737 1740 ; return 0; } 1738 1741 EOF 1739 if { (eval echo configure:174 0: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1742 if { (eval echo configure:1743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1740 1743 rm -rf conftest* 1741 1744 ac_cv_c_const=yes … … 1763 1766 for ac_kw in inline __inline__ __inline; do 1764 1767 cat > conftest.$ac_ext <<EOF 1765 #line 176 6"configure"1768 #line 1769 "configure" 1766 1769 #include "confdefs.h" 1767 1770 … … 1771 1774 ; return 0; } 1772 1775 EOF 1773 if { (eval echo configure:177 4: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1776 if { (eval echo configure:1777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1774 1777 rm -rf conftest* 1775 1778 ac_cv_c_inline=$ac_kw; break … … 1804 1807 else 1805 1808 cat > conftest.$ac_ext <<EOF 1806 #line 18 07"configure"1809 #line 1810 "configure" 1807 1810 #include "confdefs.h" 1808 1811 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 1809 1812 EOF 1810 { (eval echo configure:181 1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }1813 { (eval echo configure:1814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 1811 1814 if test -s conftest && (./conftest; exit) 2>/dev/null; then 1812 1815 ac_cv_shift=yes … … 1972 1975 fi 1973 1976 1974 #1975 # - debugoutput and timing magic.1976 #1977 # For those who do not like this: As long as you do not specify1978 # --enable-timing or --enable-debugoutput the following code will1979 # not be executed.1980 #1981 timingtargets=/dev/null1982 debouttargets=/dev/null1983 debtimingtargets=/dev/null1984 enhanceddebtime=no1985 1986 1977 # timing 1987 1978 if test "x$enable_timing" != xno; then 1988 if test "x$enable_timing" = xyes; then 1989 cat >> confdefs.h <<\EOF 1979 cat >> confdefs.h <<\EOF 1990 1980 #define TIMING 1 1991 1981 EOF 1992 1982 1993 else1994 echo "$enable_timing" | tr ',' '\n' | sed 's/\..*$//' | sort > conftest.time1995 timingtargets=conftest.time1996 enhanceddebtime=yes1997 fi1998 1983 fi 1999 1984 2000 1985 # debugoutput 2001 1986 if test "x$enable_debugoutput" != xno; then 2002 if test "x$enable_debugoutput" = xyes; then 2003 cat >> confdefs.h <<\EOF 1987 cat >> confdefs.h <<\EOF 2004 1988 #define DEBUGOUTPUT 1 2005 1989 EOF 2006 1990 2007 else2008 echo "$enable_debugoutput" | tr ',' '\n' | sed 's/\..*$//' | sort > conftest.debout2009 debouttargets=conftest.debout2010 enhanceddebtime=yes2011 fi2012 fi2013 2014 # create makefile fragments2015 if test "x$enhanceddebtime" = xyes; then2016 # get the intersection of timingtargets and debouttargets2017 sort "$timingtargets" "$debouttargets" | uniq -d > conftest.debtime2018 if test -s conftest.debtime; then2019 debtimingtargets=conftest.debtime2020 fi2021 if test "x$timingtargets" != x/dev/null; then2022 # get difference of timingtargets and debtimingtargets2023 sort "$timingtargets" "$debtimingtargets" | uniq -u |2024 while read line; do2025 echo "$line.o: $line.cc config.h;" '$(CXX) -c $< -DTIMING $(LIBCXXFLAGS) -o $@'2026 done > conftest.tmp2027 mv conftest.tmp "$timingtargets"2028 fi2029 if test "x$debouttargets" != x/dev/null; then2030 # get difference of debouttargets and debtimingtargets2031 sort "$debouttargets" "$debtimingtargets" | uniq -u |2032 while read line; do2033 echo "$line.o: $line.cc config.h;" '$(CXX) -c $< -DDEBUGOUTPUT $(LIBCXXFLAGS) -o $@'2034 done > conftest.tmp2035 mv conftest.tmp "$debouttargets"2036 fi2037 if test "x$debtimingtargets" != x/dev/null; then2038 while read line; do2039 echo "$line.o: $line.cc config.h;" '$(CXX) -c $< -DTIMING -DDEBUGOUTPUT $(LIBCXXFLAGS) -o $@'2040 done < "$debtimingtargets" > conftest.tmp2041 mv conftest.tmp "$debtimingtargets"2042 fi2043 1991 fi 2044 1992 … … 2046 1994 # - complete and substitute variables, defines. 2047 1995 # 2048 2049 2050 2051 2052 1996 2053 1997 … … 2159 2103 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 2160 2104 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 2161 echo "$CONFIG_STATUS generated by autoconf version 2. 9"2105 echo "$CONFIG_STATUS generated by autoconf version 2.10" 2162 2106 exit 0 ;; 2163 2107 -help | --help | --hel | --he | --h) … … 2212 2156 s%@M4@%$M4%g 2213 2157 s%@BISON@%$BISON%g 2214 s%@ MKINSTALLDIRS@%$MKINSTALLDIRS%g2215 s%@ MAKEHEADER@%$MAKEHEADER%g2158 s%@FACTORY_MKINSTALLDIRS@%$FACTORY_MKINSTALLDIRS%g 2159 s%@FACTORY_MAKEHEADER@%$FACTORY_MAKEHEADER%g 2216 2160 s%@gftabledir@%$gftabledir%g 2217 2161 s%@templatedir@%$templatedir%g … … 2228 2172 s%@installtargets@%$installtargets%g 2229 2173 s%@uninstalltargets@%$uninstalltargets%g 2230 /@timingtargets@/r $timingtargets2231 s%@timingtargets@%%g2232 /@debouttargets@/r $debouttargets2233 s%@debouttargets@%%g2234 /@debtimingtargets@/r $debtimingtargets2235 s%@debtimingtargets@%%g2236 2174 2237 2175 CEOF … … 2386 2324 rm -f conftest.h 2387 2325 else 2326 # Remove last slash and all that follows it. Not all systems have dirname. 2327 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 2328 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 2329 # The file is in a subdirectory. 2330 test ! -d "$ac_dir" && mkdir "$ac_dir" 2331 fi 2388 2332 rm -f $ac_file 2389 2333 mv conftest.h $ac_file
Note: See TracChangeset
for help on using the changeset viewer.