Ignore:
Timestamp:
2011-07-24T22:46:23+12:00 (13 years ago)
Author:
davidb
Message:

Fine tuning to get fftExtract to compile

Location:
gs3-extensions/audioDB/trunk/src/src
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/audioDB/trunk/src/src/CASCADE-MAKE/FFTEXTRACT.sh

    r24320 r24322  
    2424
    2525    if [ ! -f fftExtract-QM-svn/configure.ac ] ; then
    26       echo "Copying audioDB-configure.ac to fftExtract-QM-snv/configure.ac"
    27       /bin/cp audioDB-configure.ac fftExtract-QM-svn/configure.ac
     26      echo "Copying fftExtract-configure.ac to fftExtract-QM-snv/configure.ac"
     27      /bin/cp fftExtract-configure.ac fftExtract-QM-svn/configure.ac
    2828    fi
    2929
    3030    if [ ! -f fftExtract-QM-svn/configure ] ; then
    31       echo "Copying audioDB-configure to fftExtract-QM-snv/configure"
    32       /bin/cp audioDB-configure fftExtract-QM-svn/configure
     31      echo "Copying fftExtract-configure to fftExtract-QM-snv/configure"
     32      /bin/cp fftExtract-configure fftExtract-QM-svn/configure
    3333    fi
    3434
    3535    if [ ! -f fftExtract-QM-svn/Makefile.in ] ; then
    36       echo "Copying audioDB-Makefile.in to fftExtract-QM-snv/Makefile.in"
    37       /bin/cp audioDB-Makefile.in fftExtract-QM-svn/Makefile.in
     36      echo "Copying fftExtract-Makefile.in to fftExtract-QM-snv/Makefile.in"
     37      /bin/cp fftExtract-Makefile.in fftExtract-QM-svn/Makefile.in
    3838    fi
    3939
     
    4141      echo "Creating empty fftExtract-QM-snv/config.h.in"
    4242      touch fftExtract-QM-svn/config.h.in
     43    fi
     44
     45    if [ ! -f fftExtract-QM-svn/install-sh ] ; then
     46      echo "Copying fftExtract-install-sh to fftExtract-QM-snv/install-sh"
     47      /bin/cp fftExtract-install-sh fftExtract-QM-svn/install-sh
    4348    fi
    4449
  • gs3-extensions/audioDB/trunk/src/src/fftExtract-Makefile.in

    r24321 r24322  
    1 DEBUGFLAGS=
    2 CFLAGS=-O3 -g
    3 # Original lines from Queen Marys
    4 #INCLUDE=-I/usr/include -I/usr/local/include -I/opt/local/include
    5 #LIBS=-L/usr/lib -L/usr/local/lib -L/opt/local/lib
    61
    7 INCLUDE=
    8 LIBS=
     2
     3PREFIX=@prefix@
     4
     5CFLAGS=-O3 @CFLAGS@
     6LDFLAGS=@LDFLAGS@
     7DEBUGFLAGS=-g
     8
     9INSTALL= @INSTALL@
    910
    1011EXECUTABLE=fftExtract
     
    1516
    1617${EXECUTABLE}: fftExtract.o Makefile
    17     g++ -o fftExtract ${CFLAGS} ${DEBUGFLAGS} fftExtract.o ${LIBS} ${INCLUDE} -lsndfile -lfftw3 -lm
     18    g++ -o fftExtract ${CFLAGS} ${DEBUGFLAGS} fftExtract.o ${LDFLAGS} -lsndfile -lfftw3 -lm
    1819
    1920fftExtract.o: fftExtract.cpp Makefile
    20     g++ -c ${CFLAGS} ${LIBS} ${INCLUDE} -Wall -Werror ${DEBUGFLAGS} fftExtract.cpp
     21    g++ -c ${CFLAGS} ${LIBS} ${INCLUDE} -Wall ${DEBUGFLAGS} fftExtract.cpp
     22
     23install: ${EXECUTABLE}
     24    $(INSTALL) -m 755 -s $(EXECUTABLE) $(PREFIX)/bin.
    2125
    2226clean:
  • gs3-extensions/audioDB/trunk/src/src/fftExtract-configure

    r24321 r24322  
    272272PACKAGE_BUGREPORT=
    273273
    274 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION LIBOBJS LTLIBOBJS'
     274ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
    275275ac_subst_files=''
    276276
     
    713713ac_cv_env_target_alias_set=${target_alias+set}
    714714ac_cv_env_target_alias_value=$target_alias
     715ac_env_CC_set=${CC+set}
     716ac_env_CC_value=$CC
     717ac_cv_env_CC_set=${CC+set}
     718ac_cv_env_CC_value=$CC
     719ac_env_CFLAGS_set=${CFLAGS+set}
     720ac_env_CFLAGS_value=$CFLAGS
     721ac_cv_env_CFLAGS_set=${CFLAGS+set}
     722ac_cv_env_CFLAGS_value=$CFLAGS
     723ac_env_LDFLAGS_set=${LDFLAGS+set}
     724ac_env_LDFLAGS_value=$LDFLAGS
     725ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     726ac_cv_env_LDFLAGS_value=$LDFLAGS
     727ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     728ac_env_CPPFLAGS_value=$CPPFLAGS
     729ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     730ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     731ac_env_CXX_set=${CXX+set}
     732ac_env_CXX_value=$CXX
     733ac_cv_env_CXX_set=${CXX+set}
     734ac_cv_env_CXX_value=$CXX
     735ac_env_CXXFLAGS_set=${CXXFLAGS+set}
     736ac_env_CXXFLAGS_value=$CXXFLAGS
     737ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
     738ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    715739
    716740#
     
    779803
    780804  cat <<\_ACEOF
     805
     806Some influential environment variables:
     807  CC          C compiler command
     808  CFLAGS      C compiler flags
     809  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
     810              nonstandard directory <lib dir>
     811  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
     812              headers in a nonstandard directory <include dir>
     813  CXX         C++ compiler command
     814  CXXFLAGS    C++ compiler flags
     815
     816Use these variables to override the choices made by `configure' or to help
     817it to find libraries and programs with nonstandard names/locations.
    781818
    782819_ACEOF
     
    12311268
    12321269
     1270
     1271LDFLAGS=$LDFLAGS
     1272
     1273if test -z "$CFLAGS"; then
     1274CFLAGS=-O2
     1275fi
     1276
     1277
     1278ac_ext=c
     1279ac_cpp='$CPP $CPPFLAGS'
     1280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1282ac_compiler_gnu=$ac_cv_c_compiler_gnu
     1283if test -n "$ac_tool_prefix"; then
     1284  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     1285set dummy ${ac_tool_prefix}gcc; ac_word=$2
     1286echo "$as_me:$LINENO: checking for $ac_word" >&5
     1287echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1288if test "${ac_cv_prog_CC+set}" = set; then
     1289  echo $ECHO_N "(cached) $ECHO_C" >&6
     1290else
     1291  if test -n "$CC"; then
     1292  ac_cv_prog_CC="$CC" # Let the user override the test.
     1293else
     1294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1295for as_dir in $PATH
     1296do
     1297  IFS=$as_save_IFS
     1298  test -z "$as_dir" && as_dir=.
     1299  for ac_exec_ext in '' $ac_executable_extensions; do
     1300  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1301    ac_cv_prog_CC="${ac_tool_prefix}gcc"
     1302    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1303    break 2
     1304  fi
     1305done
     1306done
     1307
     1308fi
     1309fi
     1310CC=$ac_cv_prog_CC
     1311if test -n "$CC"; then
     1312  echo "$as_me:$LINENO: result: $CC" >&5
     1313echo "${ECHO_T}$CC" >&6
     1314else
     1315  echo "$as_me:$LINENO: result: no" >&5
     1316echo "${ECHO_T}no" >&6
     1317fi
     1318
     1319fi
     1320if test -z "$ac_cv_prog_CC"; then
     1321  ac_ct_CC=$CC
     1322  # Extract the first word of "gcc", so it can be a program name with args.
     1323set dummy gcc; ac_word=$2
     1324echo "$as_me:$LINENO: checking for $ac_word" >&5
     1325echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1326if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1327  echo $ECHO_N "(cached) $ECHO_C" >&6
     1328else
     1329  if test -n "$ac_ct_CC"; then
     1330  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1331else
     1332as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1333for as_dir in $PATH
     1334do
     1335  IFS=$as_save_IFS
     1336  test -z "$as_dir" && as_dir=.
     1337  for ac_exec_ext in '' $ac_executable_extensions; do
     1338  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1339    ac_cv_prog_ac_ct_CC="gcc"
     1340    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1341    break 2
     1342  fi
     1343done
     1344done
     1345
     1346fi
     1347fi
     1348ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1349if test -n "$ac_ct_CC"; then
     1350  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1351echo "${ECHO_T}$ac_ct_CC" >&6
     1352else
     1353  echo "$as_me:$LINENO: result: no" >&5
     1354echo "${ECHO_T}no" >&6
     1355fi
     1356
     1357  CC=$ac_ct_CC
     1358else
     1359  CC="$ac_cv_prog_CC"
     1360fi
     1361
     1362if test -z "$CC"; then
     1363  if test -n "$ac_tool_prefix"; then
     1364  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1365set dummy ${ac_tool_prefix}cc; ac_word=$2
     1366echo "$as_me:$LINENO: checking for $ac_word" >&5
     1367echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1368if test "${ac_cv_prog_CC+set}" = set; then
     1369  echo $ECHO_N "(cached) $ECHO_C" >&6
     1370else
     1371  if test -n "$CC"; then
     1372  ac_cv_prog_CC="$CC" # Let the user override the test.
     1373else
     1374as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1375for as_dir in $PATH
     1376do
     1377  IFS=$as_save_IFS
     1378  test -z "$as_dir" && as_dir=.
     1379  for ac_exec_ext in '' $ac_executable_extensions; do
     1380  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1381    ac_cv_prog_CC="${ac_tool_prefix}cc"
     1382    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1383    break 2
     1384  fi
     1385done
     1386done
     1387
     1388fi
     1389fi
     1390CC=$ac_cv_prog_CC
     1391if test -n "$CC"; then
     1392  echo "$as_me:$LINENO: result: $CC" >&5
     1393echo "${ECHO_T}$CC" >&6
     1394else
     1395  echo "$as_me:$LINENO: result: no" >&5
     1396echo "${ECHO_T}no" >&6
     1397fi
     1398
     1399fi
     1400if test -z "$ac_cv_prog_CC"; then
     1401  ac_ct_CC=$CC
     1402  # Extract the first word of "cc", so it can be a program name with args.
     1403set dummy cc; ac_word=$2
     1404echo "$as_me:$LINENO: checking for $ac_word" >&5
     1405echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1406if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1407  echo $ECHO_N "(cached) $ECHO_C" >&6
     1408else
     1409  if test -n "$ac_ct_CC"; then
     1410  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1411else
     1412as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1413for as_dir in $PATH
     1414do
     1415  IFS=$as_save_IFS
     1416  test -z "$as_dir" && as_dir=.
     1417  for ac_exec_ext in '' $ac_executable_extensions; do
     1418  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1419    ac_cv_prog_ac_ct_CC="cc"
     1420    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1421    break 2
     1422  fi
     1423done
     1424done
     1425
     1426fi
     1427fi
     1428ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1429if test -n "$ac_ct_CC"; then
     1430  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1431echo "${ECHO_T}$ac_ct_CC" >&6
     1432else
     1433  echo "$as_me:$LINENO: result: no" >&5
     1434echo "${ECHO_T}no" >&6
     1435fi
     1436
     1437  CC=$ac_ct_CC
     1438else
     1439  CC="$ac_cv_prog_CC"
     1440fi
     1441
     1442fi
     1443if test -z "$CC"; then
     1444  # Extract the first word of "cc", so it can be a program name with args.
     1445set dummy cc; ac_word=$2
     1446echo "$as_me:$LINENO: checking for $ac_word" >&5
     1447echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1448if test "${ac_cv_prog_CC+set}" = set; then
     1449  echo $ECHO_N "(cached) $ECHO_C" >&6
     1450else
     1451  if test -n "$CC"; then
     1452  ac_cv_prog_CC="$CC" # Let the user override the test.
     1453else
     1454  ac_prog_rejected=no
     1455as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1456for as_dir in $PATH
     1457do
     1458  IFS=$as_save_IFS
     1459  test -z "$as_dir" && as_dir=.
     1460  for ac_exec_ext in '' $ac_executable_extensions; do
     1461  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1462    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     1463       ac_prog_rejected=yes
     1464       continue
     1465     fi
     1466    ac_cv_prog_CC="cc"
     1467    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1468    break 2
     1469  fi
     1470done
     1471done
     1472
     1473if test $ac_prog_rejected = yes; then
     1474  # We found a bogon in the path, so make sure we never use it.
     1475  set dummy $ac_cv_prog_CC
     1476  shift
     1477  if test $# != 0; then
     1478    # We chose a different compiler from the bogus one.
     1479    # However, it has the same basename, so the bogon will be chosen
     1480    # first if we set CC to just the basename; use the full file name.
     1481    shift
     1482    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     1483  fi
     1484fi
     1485fi
     1486fi
     1487CC=$ac_cv_prog_CC
     1488if test -n "$CC"; then
     1489  echo "$as_me:$LINENO: result: $CC" >&5
     1490echo "${ECHO_T}$CC" >&6
     1491else
     1492  echo "$as_me:$LINENO: result: no" >&5
     1493echo "${ECHO_T}no" >&6
     1494fi
     1495
     1496fi
     1497if test -z "$CC"; then
     1498  if test -n "$ac_tool_prefix"; then
     1499  for ac_prog in cl
     1500  do
     1501    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     1502set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     1503echo "$as_me:$LINENO: checking for $ac_word" >&5
     1504echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1505if test "${ac_cv_prog_CC+set}" = set; then
     1506  echo $ECHO_N "(cached) $ECHO_C" >&6
     1507else
     1508  if test -n "$CC"; then
     1509  ac_cv_prog_CC="$CC" # Let the user override the test.
     1510else
     1511as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1512for as_dir in $PATH
     1513do
     1514  IFS=$as_save_IFS
     1515  test -z "$as_dir" && as_dir=.
     1516  for ac_exec_ext in '' $ac_executable_extensions; do
     1517  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1518    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     1519    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1520    break 2
     1521  fi
     1522done
     1523done
     1524
     1525fi
     1526fi
     1527CC=$ac_cv_prog_CC
     1528if test -n "$CC"; then
     1529  echo "$as_me:$LINENO: result: $CC" >&5
     1530echo "${ECHO_T}$CC" >&6
     1531else
     1532  echo "$as_me:$LINENO: result: no" >&5
     1533echo "${ECHO_T}no" >&6
     1534fi
     1535
     1536    test -n "$CC" && break
     1537  done
     1538fi
     1539if test -z "$CC"; then
     1540  ac_ct_CC=$CC
     1541  for ac_prog in cl
     1542do
     1543  # Extract the first word of "$ac_prog", so it can be a program name with args.
     1544set dummy $ac_prog; ac_word=$2
     1545echo "$as_me:$LINENO: checking for $ac_word" >&5
     1546echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1547if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1548  echo $ECHO_N "(cached) $ECHO_C" >&6
     1549else
     1550  if test -n "$ac_ct_CC"; then
     1551  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1552else
     1553as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1554for as_dir in $PATH
     1555do
     1556  IFS=$as_save_IFS
     1557  test -z "$as_dir" && as_dir=.
     1558  for ac_exec_ext in '' $ac_executable_extensions; do
     1559  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1560    ac_cv_prog_ac_ct_CC="$ac_prog"
     1561    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1562    break 2
     1563  fi
     1564done
     1565done
     1566
     1567fi
     1568fi
     1569ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1570if test -n "$ac_ct_CC"; then
     1571  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1572echo "${ECHO_T}$ac_ct_CC" >&6
     1573else
     1574  echo "$as_me:$LINENO: result: no" >&5
     1575echo "${ECHO_T}no" >&6
     1576fi
     1577
     1578  test -n "$ac_ct_CC" && break
     1579done
     1580
     1581  CC=$ac_ct_CC
     1582fi
     1583
     1584fi
     1585
     1586
     1587test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     1588See \`config.log' for more details." >&5
     1589echo "$as_me: error: no acceptable C compiler found in \$PATH
     1590See \`config.log' for more details." >&2;}
     1591   { (exit 1); exit 1; }; }
     1592
     1593# Provide some information about the compiler.
     1594echo "$as_me:$LINENO:" \
     1595     "checking for C compiler version" >&5
     1596ac_compiler=`set X $ac_compile; echo $2`
     1597{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     1598  (eval $ac_compiler --version </dev/null >&5) 2>&5
     1599  ac_status=$?
     1600  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1601  (exit $ac_status); }
     1602{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     1603  (eval $ac_compiler -v </dev/null >&5) 2>&5
     1604  ac_status=$?
     1605  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1606  (exit $ac_status); }
     1607{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     1608  (eval $ac_compiler -V </dev/null >&5) 2>&5
     1609  ac_status=$?
     1610  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1611  (exit $ac_status); }
     1612
     1613cat >conftest.$ac_ext <<_ACEOF
     1614/* confdefs.h.  */
     1615_ACEOF
     1616cat confdefs.h >>conftest.$ac_ext
     1617cat >>conftest.$ac_ext <<_ACEOF
     1618/* end confdefs.h.  */
     1619
     1620int
     1621main ()
     1622{
     1623
     1624  ;
     1625  return 0;
     1626}
     1627_ACEOF
     1628ac_clean_files_save=$ac_clean_files
     1629ac_clean_files="$ac_clean_files a.out a.exe b.out"
     1630# Try to create an executable without -o first, disregard a.out.
     1631# It will help us diagnose broken compilers, and finding out an intuition
     1632# of exeext.
     1633echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     1634echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     1635ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     1636if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     1637  (eval $ac_link_default) 2>&5
     1638  ac_status=$?
     1639  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1640  (exit $ac_status); }; then
     1641  # Find the output, starting from the most likely.  This scheme is
     1642# not robust to junk in `.', hence go to wildcards (a.*) only as a last
     1643# resort.
     1644
     1645# Be careful to initialize this variable, since it used to be cached.
     1646# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
     1647ac_cv_exeext=
     1648# b.out is created by i960 compilers.
     1649for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     1650do
     1651  test -f "$ac_file" || continue
     1652  case $ac_file in
     1653    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
     1654    ;;
     1655    conftest.$ac_ext )
     1656    # This is the source file.
     1657    ;;
     1658    [ab].out )
     1659    # We found the default executable, but exeext='' is most
     1660    # certainly right.
     1661    break;;
     1662    *.* )
     1663    ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1664    # FIXME: I believe we export ac_cv_exeext for Libtool,
     1665    # but it would be cool to find out if it's true.  Does anybody
     1666    # maintain Libtool? --akim.
     1667    export ac_cv_exeext
     1668    break;;
     1669    * )
     1670    break;;
     1671  esac
     1672done
     1673else
     1674  echo "$as_me: failed program was:" >&5
     1675sed 's/^/| /' conftest.$ac_ext >&5
     1676
     1677{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
     1678See \`config.log' for more details." >&5
     1679echo "$as_me: error: C compiler cannot create executables
     1680See \`config.log' for more details." >&2;}
     1681   { (exit 77); exit 77; }; }
     1682fi
     1683
     1684ac_exeext=$ac_cv_exeext
     1685echo "$as_me:$LINENO: result: $ac_file" >&5
     1686echo "${ECHO_T}$ac_file" >&6
     1687
     1688# Check the compiler produces executables we can run.  If not, either
     1689# the compiler is broken, or we cross compile.
     1690echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     1691echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     1692# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     1693# If not cross compiling, check that we can run a simple program.
     1694if test "$cross_compiling" != yes; then
     1695  if { ac_try='./$ac_file'
     1696  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1697  (eval $ac_try) 2>&5
     1698  ac_status=$?
     1699  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1700  (exit $ac_status); }; }; then
     1701    cross_compiling=no
     1702  else
     1703    if test "$cross_compiling" = maybe; then
     1704    cross_compiling=yes
     1705    else
     1706    { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
     1707If you meant to cross compile, use \`--host'.
     1708See \`config.log' for more details." >&5
     1709echo "$as_me: error: cannot run C compiled programs.
     1710If you meant to cross compile, use \`--host'.
     1711See \`config.log' for more details." >&2;}
     1712   { (exit 1); exit 1; }; }
     1713    fi
     1714  fi
     1715fi
     1716echo "$as_me:$LINENO: result: yes" >&5
     1717echo "${ECHO_T}yes" >&6
     1718
     1719rm -f a.out a.exe conftest$ac_cv_exeext b.out
     1720ac_clean_files=$ac_clean_files_save
     1721# Check the compiler produces executables we can run.  If not, either
     1722# the compiler is broken, or we cross compile.
     1723echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     1724echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
     1725echo "$as_me:$LINENO: result: $cross_compiling" >&5
     1726echo "${ECHO_T}$cross_compiling" >&6
     1727
     1728echo "$as_me:$LINENO: checking for suffix of executables" >&5
     1729echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
     1730if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     1731  (eval $ac_link) 2>&5
     1732  ac_status=$?
     1733  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1734  (exit $ac_status); }; then
     1735  # If both `conftest.exe' and `conftest' are `present' (well, observable)
     1736# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     1737# work properly (i.e., refer to `conftest.exe'), while it won't with
     1738# `rm'.
     1739for ac_file in conftest.exe conftest conftest.*; do
     1740  test -f "$ac_file" || continue
     1741  case $ac_file in
     1742    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     1743    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1744      export ac_cv_exeext
     1745      break;;
     1746    * ) break;;
     1747  esac
     1748done
     1749else
     1750  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     1751See \`config.log' for more details." >&5
     1752echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     1753See \`config.log' for more details." >&2;}
     1754   { (exit 1); exit 1; }; }
     1755fi
     1756
     1757rm -f conftest$ac_cv_exeext
     1758echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     1759echo "${ECHO_T}$ac_cv_exeext" >&6
     1760
     1761rm -f conftest.$ac_ext
     1762EXEEXT=$ac_cv_exeext
     1763ac_exeext=$EXEEXT
     1764echo "$as_me:$LINENO: checking for suffix of object files" >&5
     1765echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     1766if test "${ac_cv_objext+set}" = set; then
     1767  echo $ECHO_N "(cached) $ECHO_C" >&6
     1768else
     1769  cat >conftest.$ac_ext <<_ACEOF
     1770/* confdefs.h.  */
     1771_ACEOF
     1772cat confdefs.h >>conftest.$ac_ext
     1773cat >>conftest.$ac_ext <<_ACEOF
     1774/* end confdefs.h.  */
     1775
     1776int
     1777main ()
     1778{
     1779
     1780  ;
     1781  return 0;
     1782}
     1783_ACEOF
     1784rm -f conftest.o conftest.obj
     1785if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     1786  (eval $ac_compile) 2>&5
     1787  ac_status=$?
     1788  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1789  (exit $ac_status); }; then
     1790  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     1791  case $ac_file in
     1792    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     1793    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
     1794       break;;
     1795  esac
     1796done
     1797else
     1798  echo "$as_me: failed program was:" >&5
     1799sed 's/^/| /' conftest.$ac_ext >&5
     1800
     1801{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     1802See \`config.log' for more details." >&5
     1803echo "$as_me: error: cannot compute suffix of object files: cannot compile
     1804See \`config.log' for more details." >&2;}
     1805   { (exit 1); exit 1; }; }
     1806fi
     1807
     1808rm -f conftest.$ac_cv_objext conftest.$ac_ext
     1809fi
     1810echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     1811echo "${ECHO_T}$ac_cv_objext" >&6
     1812OBJEXT=$ac_cv_objext
     1813ac_objext=$OBJEXT
     1814echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     1815echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     1816if test "${ac_cv_c_compiler_gnu+set}" = set; then
     1817  echo $ECHO_N "(cached) $ECHO_C" >&6
     1818else
     1819  cat >conftest.$ac_ext <<_ACEOF
     1820/* confdefs.h.  */
     1821_ACEOF
     1822cat confdefs.h >>conftest.$ac_ext
     1823cat >>conftest.$ac_ext <<_ACEOF
     1824/* end confdefs.h.  */
     1825
     1826int
     1827main ()
     1828{
     1829#ifndef __GNUC__
     1830       choke me
     1831#endif
     1832
     1833  ;
     1834  return 0;
     1835}
     1836_ACEOF
     1837rm -f conftest.$ac_objext
     1838if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     1839  (eval $ac_compile) 2>conftest.er1
     1840  ac_status=$?
     1841  grep -v '^ *+' conftest.er1 >conftest.err
     1842  rm -f conftest.er1
     1843  cat conftest.err >&5
     1844  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1845  (exit $ac_status); } &&
     1846     { ac_try='test -z "$ac_c_werror_flag"
     1847             || test ! -s conftest.err'
     1848  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1849  (eval $ac_try) 2>&5
     1850  ac_status=$?
     1851  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1852  (exit $ac_status); }; } &&
     1853     { ac_try='test -s conftest.$ac_objext'
     1854  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1855  (eval $ac_try) 2>&5
     1856  ac_status=$?
     1857  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1858  (exit $ac_status); }; }; then
     1859  ac_compiler_gnu=yes
     1860else
     1861  echo "$as_me: failed program was:" >&5
     1862sed 's/^/| /' conftest.$ac_ext >&5
     1863
     1864ac_compiler_gnu=no
     1865fi
     1866rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     1867ac_cv_c_compiler_gnu=$ac_compiler_gnu
     1868
     1869fi
     1870echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     1871echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     1872GCC=`test $ac_compiler_gnu = yes && echo yes`
     1873ac_test_CFLAGS=${CFLAGS+set}
     1874ac_save_CFLAGS=$CFLAGS
     1875CFLAGS="-g"
     1876echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     1877echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     1878if test "${ac_cv_prog_cc_g+set}" = set; then
     1879  echo $ECHO_N "(cached) $ECHO_C" >&6
     1880else
     1881  cat >conftest.$ac_ext <<_ACEOF
     1882/* confdefs.h.  */
     1883_ACEOF
     1884cat confdefs.h >>conftest.$ac_ext
     1885cat >>conftest.$ac_ext <<_ACEOF
     1886/* end confdefs.h.  */
     1887
     1888int
     1889main ()
     1890{
     1891
     1892  ;
     1893  return 0;
     1894}
     1895_ACEOF
     1896rm -f conftest.$ac_objext
     1897if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     1898  (eval $ac_compile) 2>conftest.er1
     1899  ac_status=$?
     1900  grep -v '^ *+' conftest.er1 >conftest.err
     1901  rm -f conftest.er1
     1902  cat conftest.err >&5
     1903  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1904  (exit $ac_status); } &&
     1905     { ac_try='test -z "$ac_c_werror_flag"
     1906             || test ! -s conftest.err'
     1907  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1908  (eval $ac_try) 2>&5
     1909  ac_status=$?
     1910  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1911  (exit $ac_status); }; } &&
     1912     { ac_try='test -s conftest.$ac_objext'
     1913  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1914  (eval $ac_try) 2>&5
     1915  ac_status=$?
     1916  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1917  (exit $ac_status); }; }; then
     1918  ac_cv_prog_cc_g=yes
     1919else
     1920  echo "$as_me: failed program was:" >&5
     1921sed 's/^/| /' conftest.$ac_ext >&5
     1922
     1923ac_cv_prog_cc_g=no
     1924fi
     1925rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     1926fi
     1927echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     1928echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     1929if test "$ac_test_CFLAGS" = set; then
     1930  CFLAGS=$ac_save_CFLAGS
     1931elif test $ac_cv_prog_cc_g = yes; then
     1932  if test "$GCC" = yes; then
     1933    CFLAGS="-g -O2"
     1934  else
     1935    CFLAGS="-g"
     1936  fi
     1937else
     1938  if test "$GCC" = yes; then
     1939    CFLAGS="-O2"
     1940  else
     1941    CFLAGS=
     1942  fi
     1943fi
     1944echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
     1945echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     1946if test "${ac_cv_prog_cc_stdc+set}" = set; then
     1947  echo $ECHO_N "(cached) $ECHO_C" >&6
     1948else
     1949  ac_cv_prog_cc_stdc=no
     1950ac_save_CC=$CC
     1951cat >conftest.$ac_ext <<_ACEOF
     1952/* confdefs.h.  */
     1953_ACEOF
     1954cat confdefs.h >>conftest.$ac_ext
     1955cat >>conftest.$ac_ext <<_ACEOF
     1956/* end confdefs.h.  */
     1957#include <stdarg.h>
     1958#include <stdio.h>
     1959#include <sys/types.h>
     1960#include <sys/stat.h>
     1961/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     1962struct buf { int x; };
     1963FILE * (*rcsopen) (struct buf *, struct stat *, int);
     1964static char *e (p, i)
     1965     char **p;
     1966     int i;
     1967{
     1968  return p[i];
     1969}
     1970static char *f (char * (*g) (char **, int), char **p, ...)
     1971{
     1972  char *s;
     1973  va_list v;
     1974  va_start (v,p);
     1975  s = g (p, va_arg (v,int));
     1976  va_end (v);
     1977  return s;
     1978}
     1979
     1980/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     1981   function prototypes and stuff, but not '\xHH' hex character constants.
     1982   These don't provoke an error unfortunately, instead are silently treated
     1983   as 'x'.  The following induces an error, until -std1 is added to get
     1984   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     1985   array size at least.  It's necessary to write '\x00'==0 to get something
     1986   that's true only with -std1.  */
     1987int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     1988
     1989int test (int i, double x);
     1990struct s1 {int (*f) (int a);};
     1991struct s2 {int (*f) (double a);};
     1992int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     1993int argc;
     1994char **argv;
     1995int
     1996main ()
     1997{
     1998return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     1999  ;
     2000  return 0;
     2001}
     2002_ACEOF
     2003# Don't try gcc -ansi; that turns off useful extensions and
     2004# breaks some systems' header files.
     2005# AIX           -qlanglvl=ansi
     2006# Ultrix and OSF/1  -std1
     2007# HP-UX 10.20 and later -Ae
     2008# HP-UX older versions  -Aa -D_HPUX_SOURCE
     2009# SVR4          -Xc -D__EXTENSIONS__
     2010for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2011do
     2012  CC="$ac_save_CC $ac_arg"
     2013  rm -f conftest.$ac_objext
     2014if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2015  (eval $ac_compile) 2>conftest.er1
     2016  ac_status=$?
     2017  grep -v '^ *+' conftest.er1 >conftest.err
     2018  rm -f conftest.er1
     2019  cat conftest.err >&5
     2020  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2021  (exit $ac_status); } &&
     2022     { ac_try='test -z "$ac_c_werror_flag"
     2023             || test ! -s conftest.err'
     2024  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2025  (eval $ac_try) 2>&5
     2026  ac_status=$?
     2027  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2028  (exit $ac_status); }; } &&
     2029     { ac_try='test -s conftest.$ac_objext'
     2030  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2031  (eval $ac_try) 2>&5
     2032  ac_status=$?
     2033  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2034  (exit $ac_status); }; }; then
     2035  ac_cv_prog_cc_stdc=$ac_arg
     2036break
     2037else
     2038  echo "$as_me: failed program was:" >&5
     2039sed 's/^/| /' conftest.$ac_ext >&5
     2040
     2041fi
     2042rm -f conftest.err conftest.$ac_objext
     2043done
     2044rm -f conftest.$ac_ext conftest.$ac_objext
     2045CC=$ac_save_CC
     2046
     2047fi
     2048
     2049case "x$ac_cv_prog_cc_stdc" in
     2050  x|xno)
     2051    echo "$as_me:$LINENO: result: none needed" >&5
     2052echo "${ECHO_T}none needed" >&6 ;;
     2053  *)
     2054    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     2055echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     2056    CC="$CC $ac_cv_prog_cc_stdc" ;;
     2057esac
     2058
     2059# Some people use a C++ compiler to compile C.  Since we use `exit',
     2060# in C++ we need to declare it.  In case someone uses the same compiler
     2061# for both compiling C and C++ we need to have the C++ compiler decide
     2062# the declaration of exit, since it's the most demanding environment.
     2063cat >conftest.$ac_ext <<_ACEOF
     2064#ifndef __cplusplus
     2065  choke me
     2066#endif
     2067_ACEOF
     2068rm -f conftest.$ac_objext
     2069if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2070  (eval $ac_compile) 2>conftest.er1
     2071  ac_status=$?
     2072  grep -v '^ *+' conftest.er1 >conftest.err
     2073  rm -f conftest.er1
     2074  cat conftest.err >&5
     2075  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2076  (exit $ac_status); } &&
     2077     { ac_try='test -z "$ac_c_werror_flag"
     2078             || test ! -s conftest.err'
     2079  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2080  (eval $ac_try) 2>&5
     2081  ac_status=$?
     2082  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2083  (exit $ac_status); }; } &&
     2084     { ac_try='test -s conftest.$ac_objext'
     2085  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2086  (eval $ac_try) 2>&5
     2087  ac_status=$?
     2088  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2089  (exit $ac_status); }; }; then
     2090  for ac_declaration in \
     2091   '' \
     2092   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2093   'extern "C" void std::exit (int); using std::exit;' \
     2094   'extern "C" void exit (int) throw ();' \
     2095   'extern "C" void exit (int);' \
     2096   'void exit (int);'
     2097do
     2098  cat >conftest.$ac_ext <<_ACEOF
     2099/* confdefs.h.  */
     2100_ACEOF
     2101cat confdefs.h >>conftest.$ac_ext
     2102cat >>conftest.$ac_ext <<_ACEOF
     2103/* end confdefs.h.  */
     2104$ac_declaration
     2105#include <stdlib.h>
     2106int
     2107main ()
     2108{
     2109exit (42);
     2110  ;
     2111  return 0;
     2112}
     2113_ACEOF
     2114rm -f conftest.$ac_objext
     2115if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2116  (eval $ac_compile) 2>conftest.er1
     2117  ac_status=$?
     2118  grep -v '^ *+' conftest.er1 >conftest.err
     2119  rm -f conftest.er1
     2120  cat conftest.err >&5
     2121  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2122  (exit $ac_status); } &&
     2123     { ac_try='test -z "$ac_c_werror_flag"
     2124             || test ! -s conftest.err'
     2125  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2126  (eval $ac_try) 2>&5
     2127  ac_status=$?
     2128  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2129  (exit $ac_status); }; } &&
     2130     { ac_try='test -s conftest.$ac_objext'
     2131  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2132  (eval $ac_try) 2>&5
     2133  ac_status=$?
     2134  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2135  (exit $ac_status); }; }; then
     2136  :
     2137else
     2138  echo "$as_me: failed program was:" >&5
     2139sed 's/^/| /' conftest.$ac_ext >&5
     2140
     2141continue
     2142fi
     2143rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2144  cat >conftest.$ac_ext <<_ACEOF
     2145/* confdefs.h.  */
     2146_ACEOF
     2147cat confdefs.h >>conftest.$ac_ext
     2148cat >>conftest.$ac_ext <<_ACEOF
     2149/* end confdefs.h.  */
     2150$ac_declaration
     2151int
     2152main ()
     2153{
     2154exit (42);
     2155  ;
     2156  return 0;
     2157}
     2158_ACEOF
     2159rm -f conftest.$ac_objext
     2160if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2161  (eval $ac_compile) 2>conftest.er1
     2162  ac_status=$?
     2163  grep -v '^ *+' conftest.er1 >conftest.err
     2164  rm -f conftest.er1
     2165  cat conftest.err >&5
     2166  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2167  (exit $ac_status); } &&
     2168     { ac_try='test -z "$ac_c_werror_flag"
     2169             || test ! -s conftest.err'
     2170  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2171  (eval $ac_try) 2>&5
     2172  ac_status=$?
     2173  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2174  (exit $ac_status); }; } &&
     2175     { ac_try='test -s conftest.$ac_objext'
     2176  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2177  (eval $ac_try) 2>&5
     2178  ac_status=$?
     2179  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2180  (exit $ac_status); }; }; then
     2181  break
     2182else
     2183  echo "$as_me: failed program was:" >&5
     2184sed 's/^/| /' conftest.$ac_ext >&5
     2185
     2186fi
     2187rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2188done
     2189rm -f conftest*
     2190if test -n "$ac_declaration"; then
     2191  echo '#ifdef __cplusplus' >>confdefs.h
     2192  echo $ac_declaration      >>confdefs.h
     2193  echo '#endif'             >>confdefs.h
     2194fi
     2195
     2196else
     2197  echo "$as_me: failed program was:" >&5
     2198sed 's/^/| /' conftest.$ac_ext >&5
     2199
     2200fi
     2201rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2202ac_ext=c
     2203ac_cpp='$CPP $CPPFLAGS'
     2204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2206ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2207
     2208ac_ext=cc
     2209ac_cpp='$CXXCPP $CPPFLAGS'
     2210ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2211ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2212ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     2213if test -n "$ac_tool_prefix"; then
     2214  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2215  do
     2216    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     2217set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     2218echo "$as_me:$LINENO: checking for $ac_word" >&5
     2219echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2220if test "${ac_cv_prog_CXX+set}" = set; then
     2221  echo $ECHO_N "(cached) $ECHO_C" >&6
     2222else
     2223  if test -n "$CXX"; then
     2224  ac_cv_prog_CXX="$CXX" # Let the user override the test.
     2225else
     2226as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2227for as_dir in $PATH
     2228do
     2229  IFS=$as_save_IFS
     2230  test -z "$as_dir" && as_dir=.
     2231  for ac_exec_ext in '' $ac_executable_extensions; do
     2232  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2233    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     2234    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2235    break 2
     2236  fi
     2237done
     2238done
     2239
     2240fi
     2241fi
     2242CXX=$ac_cv_prog_CXX
     2243if test -n "$CXX"; then
     2244  echo "$as_me:$LINENO: result: $CXX" >&5
     2245echo "${ECHO_T}$CXX" >&6
     2246else
     2247  echo "$as_me:$LINENO: result: no" >&5
     2248echo "${ECHO_T}no" >&6
     2249fi
     2250
     2251    test -n "$CXX" && break
     2252  done
     2253fi
     2254if test -z "$CXX"; then
     2255  ac_ct_CXX=$CXX
     2256  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2257do
     2258  # Extract the first word of "$ac_prog", so it can be a program name with args.
     2259set dummy $ac_prog; ac_word=$2
     2260echo "$as_me:$LINENO: checking for $ac_word" >&5
     2261echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2262if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     2263  echo $ECHO_N "(cached) $ECHO_C" >&6
     2264else
     2265  if test -n "$ac_ct_CXX"; then
     2266  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
     2267else
     2268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2269for as_dir in $PATH
     2270do
     2271  IFS=$as_save_IFS
     2272  test -z "$as_dir" && as_dir=.
     2273  for ac_exec_ext in '' $ac_executable_extensions; do
     2274  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2275    ac_cv_prog_ac_ct_CXX="$ac_prog"
     2276    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2277    break 2
     2278  fi
     2279done
     2280done
     2281
     2282fi
     2283fi
     2284ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
     2285if test -n "$ac_ct_CXX"; then
     2286  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2287echo "${ECHO_T}$ac_ct_CXX" >&6
     2288else
     2289  echo "$as_me:$LINENO: result: no" >&5
     2290echo "${ECHO_T}no" >&6
     2291fi
     2292
     2293  test -n "$ac_ct_CXX" && break
     2294done
     2295test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     2296
     2297  CXX=$ac_ct_CXX
     2298fi
     2299
     2300
     2301# Provide some information about the compiler.
     2302echo "$as_me:$LINENO:" \
     2303     "checking for C++ compiler version" >&5
     2304ac_compiler=`set X $ac_compile; echo $2`
     2305{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     2306  (eval $ac_compiler --version </dev/null >&5) 2>&5
     2307  ac_status=$?
     2308  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2309  (exit $ac_status); }
     2310{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     2311  (eval $ac_compiler -v </dev/null >&5) 2>&5
     2312  ac_status=$?
     2313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2314  (exit $ac_status); }
     2315{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     2316  (eval $ac_compiler -V </dev/null >&5) 2>&5
     2317  ac_status=$?
     2318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2319  (exit $ac_status); }
     2320
     2321echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2322echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     2323if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     2324  echo $ECHO_N "(cached) $ECHO_C" >&6
     2325else
     2326  cat >conftest.$ac_ext <<_ACEOF
     2327/* confdefs.h.  */
     2328_ACEOF
     2329cat confdefs.h >>conftest.$ac_ext
     2330cat >>conftest.$ac_ext <<_ACEOF
     2331/* end confdefs.h.  */
     2332
     2333int
     2334main ()
     2335{
     2336#ifndef __GNUC__
     2337       choke me
     2338#endif
     2339
     2340  ;
     2341  return 0;
     2342}
     2343_ACEOF
     2344rm -f conftest.$ac_objext
     2345if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2346  (eval $ac_compile) 2>conftest.er1
     2347  ac_status=$?
     2348  grep -v '^ *+' conftest.er1 >conftest.err
     2349  rm -f conftest.er1
     2350  cat conftest.err >&5
     2351  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2352  (exit $ac_status); } &&
     2353     { ac_try='test -z "$ac_cxx_werror_flag"
     2354             || test ! -s conftest.err'
     2355  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2356  (eval $ac_try) 2>&5
     2357  ac_status=$?
     2358  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2359  (exit $ac_status); }; } &&
     2360     { ac_try='test -s conftest.$ac_objext'
     2361  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2362  (eval $ac_try) 2>&5
     2363  ac_status=$?
     2364  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2365  (exit $ac_status); }; }; then
     2366  ac_compiler_gnu=yes
     2367else
     2368  echo "$as_me: failed program was:" >&5
     2369sed 's/^/| /' conftest.$ac_ext >&5
     2370
     2371ac_compiler_gnu=no
     2372fi
     2373rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2374ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
     2375
     2376fi
     2377echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     2378echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     2379GXX=`test $ac_compiler_gnu = yes && echo yes`
     2380ac_test_CXXFLAGS=${CXXFLAGS+set}
     2381ac_save_CXXFLAGS=$CXXFLAGS
     2382CXXFLAGS="-g"
     2383echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     2384echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     2385if test "${ac_cv_prog_cxx_g+set}" = set; then
     2386  echo $ECHO_N "(cached) $ECHO_C" >&6
     2387else
     2388  cat >conftest.$ac_ext <<_ACEOF
     2389/* confdefs.h.  */
     2390_ACEOF
     2391cat confdefs.h >>conftest.$ac_ext
     2392cat >>conftest.$ac_ext <<_ACEOF
     2393/* end confdefs.h.  */
     2394
     2395int
     2396main ()
     2397{
     2398
     2399  ;
     2400  return 0;
     2401}
     2402_ACEOF
     2403rm -f conftest.$ac_objext
     2404if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2405  (eval $ac_compile) 2>conftest.er1
     2406  ac_status=$?
     2407  grep -v '^ *+' conftest.er1 >conftest.err
     2408  rm -f conftest.er1
     2409  cat conftest.err >&5
     2410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2411  (exit $ac_status); } &&
     2412     { ac_try='test -z "$ac_cxx_werror_flag"
     2413             || test ! -s conftest.err'
     2414  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2415  (eval $ac_try) 2>&5
     2416  ac_status=$?
     2417  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2418  (exit $ac_status); }; } &&
     2419     { ac_try='test -s conftest.$ac_objext'
     2420  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2421  (eval $ac_try) 2>&5
     2422  ac_status=$?
     2423  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2424  (exit $ac_status); }; }; then
     2425  ac_cv_prog_cxx_g=yes
     2426else
     2427  echo "$as_me: failed program was:" >&5
     2428sed 's/^/| /' conftest.$ac_ext >&5
     2429
     2430ac_cv_prog_cxx_g=no
     2431fi
     2432rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2433fi
     2434echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     2435echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     2436if test "$ac_test_CXXFLAGS" = set; then
     2437  CXXFLAGS=$ac_save_CXXFLAGS
     2438elif test $ac_cv_prog_cxx_g = yes; then
     2439  if test "$GXX" = yes; then
     2440    CXXFLAGS="-g -O2"
     2441  else
     2442    CXXFLAGS="-g"
     2443  fi
     2444else
     2445  if test "$GXX" = yes; then
     2446    CXXFLAGS="-O2"
     2447  else
     2448    CXXFLAGS=
     2449  fi
     2450fi
     2451for ac_declaration in \
     2452   '' \
     2453   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2454   'extern "C" void std::exit (int); using std::exit;' \
     2455   'extern "C" void exit (int) throw ();' \
     2456   'extern "C" void exit (int);' \
     2457   'void exit (int);'
     2458do
     2459  cat >conftest.$ac_ext <<_ACEOF
     2460/* confdefs.h.  */
     2461_ACEOF
     2462cat confdefs.h >>conftest.$ac_ext
     2463cat >>conftest.$ac_ext <<_ACEOF
     2464/* end confdefs.h.  */
     2465$ac_declaration
     2466#include <stdlib.h>
     2467int
     2468main ()
     2469{
     2470exit (42);
     2471  ;
     2472  return 0;
     2473}
     2474_ACEOF
     2475rm -f conftest.$ac_objext
     2476if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2477  (eval $ac_compile) 2>conftest.er1
     2478  ac_status=$?
     2479  grep -v '^ *+' conftest.er1 >conftest.err
     2480  rm -f conftest.er1
     2481  cat conftest.err >&5
     2482  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2483  (exit $ac_status); } &&
     2484     { ac_try='test -z "$ac_cxx_werror_flag"
     2485             || test ! -s conftest.err'
     2486  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2487  (eval $ac_try) 2>&5
     2488  ac_status=$?
     2489  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2490  (exit $ac_status); }; } &&
     2491     { ac_try='test -s conftest.$ac_objext'
     2492  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2493  (eval $ac_try) 2>&5
     2494  ac_status=$?
     2495  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2496  (exit $ac_status); }; }; then
     2497  :
     2498else
     2499  echo "$as_me: failed program was:" >&5
     2500sed 's/^/| /' conftest.$ac_ext >&5
     2501
     2502continue
     2503fi
     2504rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2505  cat >conftest.$ac_ext <<_ACEOF
     2506/* confdefs.h.  */
     2507_ACEOF
     2508cat confdefs.h >>conftest.$ac_ext
     2509cat >>conftest.$ac_ext <<_ACEOF
     2510/* end confdefs.h.  */
     2511$ac_declaration
     2512int
     2513main ()
     2514{
     2515exit (42);
     2516  ;
     2517  return 0;
     2518}
     2519_ACEOF
     2520rm -f conftest.$ac_objext
     2521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2522  (eval $ac_compile) 2>conftest.er1
     2523  ac_status=$?
     2524  grep -v '^ *+' conftest.er1 >conftest.err
     2525  rm -f conftest.er1
     2526  cat conftest.err >&5
     2527  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2528  (exit $ac_status); } &&
     2529     { ac_try='test -z "$ac_cxx_werror_flag"
     2530             || test ! -s conftest.err'
     2531  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2532  (eval $ac_try) 2>&5
     2533  ac_status=$?
     2534  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2535  (exit $ac_status); }; } &&
     2536     { ac_try='test -s conftest.$ac_objext'
     2537  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2538  (eval $ac_try) 2>&5
     2539  ac_status=$?
     2540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2541  (exit $ac_status); }; }; then
     2542  break
     2543else
     2544  echo "$as_me: failed program was:" >&5
     2545sed 's/^/| /' conftest.$ac_ext >&5
     2546
     2547fi
     2548rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2549done
     2550rm -f conftest*
     2551if test -n "$ac_declaration"; then
     2552  echo '#ifdef __cplusplus' >>confdefs.h
     2553  echo $ac_declaration      >>confdefs.h
     2554  echo '#endif'             >>confdefs.h
     2555fi
     2556
     2557ac_ext=c
     2558ac_cpp='$CPP $CPPFLAGS'
     2559ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2560ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2561ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2562
     2563
     2564ac_aux_dir=
     2565for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     2566  if test -f $ac_dir/install-sh; then
     2567    ac_aux_dir=$ac_dir
     2568    ac_install_sh="$ac_aux_dir/install-sh -c"
     2569    break
     2570  elif test -f $ac_dir/install.sh; then
     2571    ac_aux_dir=$ac_dir
     2572    ac_install_sh="$ac_aux_dir/install.sh -c"
     2573    break
     2574  elif test -f $ac_dir/shtool; then
     2575    ac_aux_dir=$ac_dir
     2576    ac_install_sh="$ac_aux_dir/shtool install -c"
     2577    break
     2578  fi
     2579done
     2580if test -z "$ac_aux_dir"; then
     2581  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     2582echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     2583   { (exit 1); exit 1; }; }
     2584fi
     2585ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     2586ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     2587ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     2588
     2589# Find a good install program.  We prefer a C program (faster),
     2590# so one script is as good as another.  But avoid the broken or
     2591# incompatible versions:
     2592# SysV /etc/install, /usr/sbin/install
     2593# SunOS /usr/etc/install
     2594# IRIX /sbin/install
     2595# AIX /bin/install
     2596# AmigaOS /C/install, which installs bootblocks on floppy discs
     2597# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     2598# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     2599# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     2600# OS/2's system install, which has a completely different semantic
     2601# ./install, which can be erroneously created by make from ./install.sh.
     2602echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2603echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     2604if test -z "$INSTALL"; then
     2605if test "${ac_cv_path_install+set}" = set; then
     2606  echo $ECHO_N "(cached) $ECHO_C" >&6
     2607else
     2608  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2609for as_dir in $PATH
     2610do
     2611  IFS=$as_save_IFS
     2612  test -z "$as_dir" && as_dir=.
     2613  # Account for people who put trailing slashes in PATH elements.
     2614case $as_dir/ in
     2615  ./ | .// | /cC/* | \
     2616  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     2617  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     2618  /usr/ucb/* ) ;;
     2619  *)
     2620    # OSF1 and SCO ODT 3.0 have their own names for install.
     2621    # Don't use installbsd from OSF since it installs stuff as root
     2622    # by default.
     2623    for ac_prog in ginstall scoinst install; do
     2624      for ac_exec_ext in '' $ac_executable_extensions; do
     2625    if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     2626      if test $ac_prog = install &&
     2627        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2628        # AIX install.  It has an incompatible calling convention.
     2629        :
     2630      elif test $ac_prog = install &&
     2631        grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2632        # program-specific install script used by HP pwplus--don't use.
     2633        :
     2634      else
     2635        ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     2636        break 3
     2637      fi
     2638    fi
     2639      done
     2640    done
     2641    ;;
     2642esac
     2643done
     2644
     2645
     2646fi
     2647  if test "${ac_cv_path_install+set}" = set; then
     2648    INSTALL=$ac_cv_path_install
     2649  else
     2650    # As a last resort, use the slow shell script.  We don't cache a
     2651    # path for INSTALL within a source directory, because that will
     2652    # break other packages using the cache if that directory is
     2653    # removed, or if the path is relative.
     2654    INSTALL=$ac_install_sh
     2655  fi
     2656fi
     2657echo "$as_me:$LINENO: result: $INSTALL" >&5
     2658echo "${ECHO_T}$INSTALL" >&6
     2659
     2660# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     2661# It thinks the first close brace ends the variable substitution.
     2662test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     2663
     2664test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     2665
     2666test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     2667
     2668
    12332669          ac_config_files="$ac_config_files Makefile"
    12342670cat >confcache <<\_ACEOF
     
    16623098gives unlimited permission to copy, distribute and modify it."
    16633099srcdir=$srcdir
     3100INSTALL="$INSTALL"
    16643101_ACEOF
    16653102
     
    18443281s,@PACKAGE@,$PACKAGE,;t t
    18453282s,@VERSION@,$VERSION,;t t
     3283s,@LDFLAGS@,$LDFLAGS,;t t
     3284s,@CFLAGS@,$CFLAGS,;t t
     3285s,@CC@,$CC,;t t
     3286s,@CPPFLAGS@,$CPPFLAGS,;t t
     3287s,@ac_ct_CC@,$ac_ct_CC,;t t
     3288s,@EXEEXT@,$EXEEXT,;t t
     3289s,@OBJEXT@,$OBJEXT,;t t
     3290s,@CXX@,$CXX,;t t
     3291s,@CXXFLAGS@,$CXXFLAGS,;t t
     3292s,@ac_ct_CXX@,$ac_ct_CXX,;t t
     3293s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
     3294s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     3295s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    18463296s,@LIBOBJS@,$LIBOBJS,;t t
    18473297s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     
    20073457
    20083458
     3459  case $INSTALL in
     3460  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
     3461  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     3462  esac
    20093463
    20103464  if test x"$ac_file" != x-; then
     
    20683522s,@top_builddir@,$ac_top_builddir,;t t
    20693523s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
     3524s,@INSTALL@,$ac_INSTALL,;t t
    20703525" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    20713526  rm -f $tmp/stdin
  • gs3-extensions/audioDB/trunk/src/src/fftExtract-configure.ac

    r24321 r24322  
    99AC_SUBST(VERSION)
    1010
     11
     12dnl Checks for programs.
     13LDFLAGS=$LDFLAGS
     14AC_SUBST(LDFLAGS)
     15dnl only set CFLAGS if not already set in environment
     16if test -z "$CFLAGS"; then
     17CFLAGS=-O2
     18fi
     19AC_SUBST(CFLAGS)
     20
     21AC_PROG_CC
     22AC_PROG_CXX
     23
     24AC_PROG_INSTALL
     25
    1126AC_OUTPUT(Makefile)
Note: See TracChangeset for help on using the changeset viewer.