~ubuntu-branches/ubuntu/quantal/autoconf/quantal

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2010-08-05 12:01:58 UTC
  • mfrom: (4.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20100805120158-uxt6qovr0gl2pd75
Tags: 2.67-2ubuntu1
* Merge from Debian unstable (LP: #613735), remaining changes:
  - bin/autoreconf.in: Check whether libtoolize supports --install, if it
    does, libtoolize is safe to run at all times since it will not install
    new files unless --install is passed to it as well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.65 for GNU Autoconf 2.65.
 
3
# Generated by GNU Autoconf 2.67 for GNU Autoconf 2.67.
4
4
#
5
5
# Report bugs to <bug-autoconf@gnu.org>.
6
6
#
7
7
#
8
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10
 
# Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
11
11
#
12
12
#
13
13
# This configure script is free software; the Free Software Foundation
318
318
      test -d "$as_dir" && break
319
319
    done
320
320
    test -z "$as_dirs" || eval "mkdir $as_dirs"
321
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
321
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
322
322
 
323
323
 
324
324
} # as_fn_mkdir_p
358
358
fi # as_fn_arith
359
359
 
360
360
 
361
 
# as_fn_error ERROR [LINENO LOG_FD]
362
 
# ---------------------------------
 
361
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
362
# ----------------------------------------
363
363
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364
364
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365
 
# script with status $?, using 1 if that was 0.
 
365
# script with STATUS, using 1 if that was 0.
366
366
as_fn_error ()
367
367
{
368
 
  as_status=$?; test $as_status -eq 0 && as_status=1
369
 
  if test "$3"; then
370
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
368
  as_status=$1; test $as_status -eq 0 && as_status=1
 
369
  if test "$4"; then
 
370
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
371
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
372
372
  fi
373
 
  $as_echo "$as_me: error: $1" >&2
 
373
  $as_echo "$as_me: error: $2" >&2
374
374
  as_fn_exit $as_status
375
375
} # as_fn_error
376
376
 
532
532
exec 6>&1
533
533
 
534
534
# Name of the host.
535
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
535
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
536
536
# so uname gets run too.
537
537
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
538
538
 
551
551
# Identity of this package.
552
552
PACKAGE_NAME='GNU Autoconf'
553
553
PACKAGE_TARNAME='autoconf'
554
 
PACKAGE_VERSION='2.65'
555
 
PACKAGE_STRING='GNU Autoconf 2.65'
 
554
PACKAGE_VERSION='2.67'
 
555
PACKAGE_STRING='GNU Autoconf 2.67'
556
556
PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
557
557
PACKAGE_URL='http://www.gnu.org/software/autoconf/'
558
558
 
712
712
  fi
713
713
 
714
714
  case $ac_option in
715
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
716
 
  *)    ac_optarg=yes ;;
 
715
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
716
  *=)   ac_optarg= ;;
 
717
  *)    ac_optarg=yes ;;
717
718
  esac
718
719
 
719
720
  # Accept the important Cygnus configure options, so we can diagnose typos.
758
759
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
759
760
    # Reject names that are not valid shell variable names.
760
761
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
761
 
      as_fn_error "invalid feature name: $ac_useropt"
 
762
      as_fn_error $? "invalid feature name: $ac_useropt"
762
763
    ac_useropt_orig=$ac_useropt
763
764
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
764
765
    case $ac_user_opts in
784
785
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
785
786
    # Reject names that are not valid shell variable names.
786
787
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
787
 
      as_fn_error "invalid feature name: $ac_useropt"
 
788
      as_fn_error $? "invalid feature name: $ac_useropt"
788
789
    ac_useropt_orig=$ac_useropt
789
790
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
790
791
    case $ac_user_opts in
988
989
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
989
990
    # Reject names that are not valid shell variable names.
990
991
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
991
 
      as_fn_error "invalid package name: $ac_useropt"
 
992
      as_fn_error $? "invalid package name: $ac_useropt"
992
993
    ac_useropt_orig=$ac_useropt
993
994
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994
995
    case $ac_user_opts in
1004
1005
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1005
1006
    # Reject names that are not valid shell variable names.
1006
1007
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1007
 
      as_fn_error "invalid package name: $ac_useropt"
 
1008
      as_fn_error $? "invalid package name: $ac_useropt"
1008
1009
    ac_useropt_orig=$ac_useropt
1009
1010
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1010
1011
    case $ac_user_opts in
1034
1035
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1035
1036
    x_libraries=$ac_optarg ;;
1036
1037
 
1037
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1038
 
Try \`$0 --help' for more information."
 
1038
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1039
Try \`$0 --help' for more information"
1039
1040
    ;;
1040
1041
 
1041
1042
  *=*)
1043
1044
    # Reject names that are not valid shell variable names.
1044
1045
    case $ac_envvar in #(
1045
1046
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1046
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1047
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1047
1048
    esac
1048
1049
    eval $ac_envvar=\$ac_optarg
1049
1050
    export $ac_envvar ;;
1061
1062
 
1062
1063
if test -n "$ac_prev"; then
1063
1064
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1064
 
  as_fn_error "missing argument to $ac_option"
 
1065
  as_fn_error $? "missing argument to $ac_option"
1065
1066
fi
1066
1067
 
1067
1068
if test -n "$ac_unrecognized_opts"; then
1068
1069
  case $enable_option_checking in
1069
1070
    no) ;;
1070
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1071
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1071
1072
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1072
1073
  esac
1073
1074
fi
1090
1091
    [\\/$]* | ?:[\\/]* )  continue;;
1091
1092
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1092
1093
  esac
1093
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1094
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1094
1095
done
1095
1096
 
1096
1097
# There might be people who depend on the old broken behavior: `$host'
1104
1105
if test "x$host_alias" != x; then
1105
1106
  if test "x$build_alias" = x; then
1106
1107
    cross_compiling=maybe
1107
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1108
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1108
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1109
    If a cross compiler is detected then cross compile mode will be used" >&2
1109
1110
  elif test "x$build_alias" != "x$host_alias"; then
1110
1111
    cross_compiling=yes
1111
1112
  fi
1120
1121
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1121
1122
ac_ls_di=`ls -di .` &&
1122
1123
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1123
 
  as_fn_error "working directory cannot be determined"
 
1124
  as_fn_error $? "working directory cannot be determined"
1124
1125
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1125
 
  as_fn_error "pwd does not report name of working directory"
 
1126
  as_fn_error $? "pwd does not report name of working directory"
1126
1127
 
1127
1128
 
1128
1129
# Find the source files, if location was not specified.
1161
1162
fi
1162
1163
if test ! -r "$srcdir/$ac_unique_file"; then
1163
1164
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1164
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1165
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1165
1166
fi
1166
1167
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1167
1168
ac_abs_confdir=`(
1168
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1169
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1169
1170
        pwd)`
1170
1171
# When building in place, set srcdir=.
1171
1172
if test "$ac_abs_confdir" = "$ac_pwd"; then
1191
1192
  # Omit some internal or obsolete options to make the list less imposing.
1192
1193
  # This message is too long to be a string in the A/UX 3.1 sh.
1193
1194
  cat <<_ACEOF
1194
 
\`configure' configures GNU Autoconf 2.65 to adapt to many kinds of systems.
 
1195
\`configure' configures GNU Autoconf 2.67 to adapt to many kinds of systems.
1195
1196
 
1196
1197
Usage: $0 [OPTION]... [VAR=VALUE]...
1197
1198
 
1205
1206
      --help=short        display options specific to this package
1206
1207
      --help=recursive    display the short help of all the included packages
1207
1208
  -V, --version           display version information and exit
1208
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1209
  -q, --quiet, --silent   do not print \`checking ...' messages
1209
1210
      --cache-file=FILE   cache test results in FILE [disabled]
1210
1211
  -C, --config-cache      alias for \`--cache-file=config.cache'
1211
1212
  -n, --no-create         do not create output files
1257
1258
 
1258
1259
if test -n "$ac_init_help"; then
1259
1260
  case $ac_init_help in
1260
 
     short | recursive ) echo "Configuration of GNU Autoconf 2.65:";;
 
1261
     short | recursive ) echo "Configuration of GNU Autoconf 2.67:";;
1261
1262
   esac
1262
1263
  cat <<\_ACEOF
1263
1264
 
1341
1342
test -n "$ac_init_help" && exit $ac_status
1342
1343
if $ac_init_version; then
1343
1344
  cat <<\_ACEOF
1344
 
GNU Autoconf configure 2.65
1345
 
generated by GNU Autoconf 2.65
 
1345
GNU Autoconf configure 2.67
 
1346
generated by GNU Autoconf 2.67
1346
1347
 
1347
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1348
Copyright (C) 2010 Free Software Foundation, Inc.
1348
1349
This configure script is free software; the Free Software Foundation
1349
1350
gives unlimited permission to copy, distribute and modify it.
1350
1351
_ACEOF
1358
1359
This file contains any messages produced by compilers while
1359
1360
running configure, to aid debugging if configure makes a mistake.
1360
1361
 
1361
 
It was created by GNU Autoconf $as_me 2.65, which was
1362
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
1362
It was created by GNU Autoconf $as_me 2.67, which was
 
1363
generated by GNU Autoconf 2.67.  Invocation command line was
1363
1364
 
1364
1365
  $ $0 $@
1365
1366
 
1469
1470
  {
1470
1471
    echo
1471
1472
 
1472
 
    cat <<\_ASBOX
1473
 
## ---------------- ##
 
1473
    $as_echo "## ---------------- ##
1474
1474
## Cache variables. ##
1475
 
## ---------------- ##
1476
 
_ASBOX
 
1475
## ---------------- ##"
1477
1476
    echo
1478
1477
    # The following way of writing the cache mishandles newlines in values,
1479
1478
(
1507
1506
)
1508
1507
    echo
1509
1508
 
1510
 
    cat <<\_ASBOX
1511
 
## ----------------- ##
 
1509
    $as_echo "## ----------------- ##
1512
1510
## Output variables. ##
1513
 
## ----------------- ##
1514
 
_ASBOX
 
1511
## ----------------- ##"
1515
1512
    echo
1516
1513
    for ac_var in $ac_subst_vars
1517
1514
    do
1524
1521
    echo
1525
1522
 
1526
1523
    if test -n "$ac_subst_files"; then
1527
 
      cat <<\_ASBOX
1528
 
## ------------------- ##
 
1524
      $as_echo "## ------------------- ##
1529
1525
## File substitutions. ##
1530
 
## ------------------- ##
1531
 
_ASBOX
 
1526
## ------------------- ##"
1532
1527
      echo
1533
1528
      for ac_var in $ac_subst_files
1534
1529
      do
1542
1537
    fi
1543
1538
 
1544
1539
    if test -s confdefs.h; then
1545
 
      cat <<\_ASBOX
1546
 
## ----------- ##
 
1540
      $as_echo "## ----------- ##
1547
1541
## confdefs.h. ##
1548
 
## ----------- ##
1549
 
_ASBOX
 
1542
## ----------- ##"
1550
1543
      echo
1551
1544
      cat confdefs.h
1552
1545
      echo
1601
1594
ac_site_file1=NONE
1602
1595
ac_site_file2=NONE
1603
1596
if test -n "$CONFIG_SITE"; then
1604
 
  ac_site_file1=$CONFIG_SITE
 
1597
  # We do not want a PATH search for config.site.
 
1598
  case $CONFIG_SITE in #((
 
1599
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
1600
    */*) ac_site_file1=$CONFIG_SITE;;
 
1601
    *)   ac_site_file1=./$CONFIG_SITE;;
 
1602
  esac
1605
1603
elif test "x$prefix" != xNONE; then
1606
1604
  ac_site_file1=$prefix/share/config.site
1607
1605
  ac_site_file2=$prefix/etc/config.site
1616
1614
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1617
1615
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1618
1616
    sed 's/^/| /' "$ac_site_file" >&5
1619
 
    . "$ac_site_file"
 
1617
    . "$ac_site_file" \
 
1618
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
1619
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1620
as_fn_error $? "failed to load site script $ac_site_file
 
1621
See \`config.log' for more details" "$LINENO" 5; }
1620
1622
  fi
1621
1623
done
1622
1624
 
1692
1694
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1693
1695
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1694
1696
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1695
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
1697
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1696
1698
fi
1697
1699
## -------------------- ##
1698
1700
## Main body of script. ##
1709
1711
 
1710
1712
ac_aux_dir=
1711
1713
for ac_dir in build-aux "$srcdir"/build-aux; do
1712
 
  for ac_t in install-sh install.sh shtool; do
1713
 
    if test -f "$ac_dir/$ac_t"; then
1714
 
      ac_aux_dir=$ac_dir
1715
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
1716
 
      break 2
1717
 
    fi
1718
 
  done
 
1714
  if test -f "$ac_dir/install-sh"; then
 
1715
    ac_aux_dir=$ac_dir
 
1716
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
1717
    break
 
1718
  elif test -f "$ac_dir/install.sh"; then
 
1719
    ac_aux_dir=$ac_dir
 
1720
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
1721
    break
 
1722
  elif test -f "$ac_dir/shtool"; then
 
1723
    ac_aux_dir=$ac_dir
 
1724
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1725
    break
 
1726
  fi
1719
1727
done
1720
1728
if test -z "$ac_aux_dir"; then
1721
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
 
1729
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
1722
1730
fi
1723
1731
 
1724
1732
# These three variables are undocumented and unsupported,
1837
1845
'
1838
1846
case `pwd` in
1839
1847
  *[\\\"\#\$\&\'\`$am_lf]*)
1840
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
1848
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1841
1849
esac
1842
1850
case $srcdir in
1843
1851
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
1844
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
1852
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1845
1853
esac
1846
1854
 
1847
1855
# Do `set' in a subshell so we don't clobber the current shell's
1863
1871
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1864
1872
      # broken ls alias from the environment.  This has actually
1865
1873
      # happened.  Such a system could not be considered "sane".
1866
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
1874
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
1867
1875
alias in your environment" "$LINENO" 5
1868
1876
   fi
1869
1877
 
1873
1881
   # Ok.
1874
1882
   :
1875
1883
else
1876
 
   as_fn_error "newly created file is older than distributed files!
 
1884
   as_fn_error $? "newly created file is older than distributed files!
1877
1885
Check your system clock" "$LINENO" 5
1878
1886
fi
1879
1887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2111
2119
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2112
2120
set x ${MAKE-make}
2113
2121
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2114
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2122
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2115
2123
  $as_echo_n "(cached) " >&6
2116
2124
else
2117
2125
  cat >conftest.make <<\_ACEOF
2119
2127
all:
2120
2128
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2121
2129
_ACEOF
2122
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2130
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2123
2131
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2124
2132
  *@@@%%%=?*=@@@%%%*)
2125
2133
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2153
2161
  am__isrc=' -I$(srcdir)'
2154
2162
  # test to see if srcdir already configured
2155
2163
  if test -f $srcdir/config.status; then
2156
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2164
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2157
2165
  fi
2158
2166
fi
2159
2167
 
2169
2177
 
2170
2178
# Define the identity of the package.
2171
2179
 PACKAGE='autoconf'
2172
 
 VERSION='2.65'
 
2180
 VERSION='2.67'
2173
2181
 
2174
2182
 
2175
2183
cat >>confdefs.h <<_ACEOF
2380
2388
      ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)'
2381
2389
      ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl
2382
2390
      test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \
2383
 
      && test -z "`echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \
 
2391
      && test -z "`$as_echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \
2384
2392
      && test -f conftest.m4f \
2385
2393
      && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
2386
2394
      rm -f conftest.m4f
2390
2398
  done
2391
2399
IFS=$as_save_IFS
2392
2400
  if test -z "$ac_cv_path_M4"; then
2393
 
    as_fn_error "no acceptable m4 could be found in \$PATH.
2394
 
GNU M4 1.4.6 or later is required; 1.4.13 is recommended" "$LINENO" 5
 
2401
    as_fn_error $? "no acceptable m4 could be found in \$PATH.
 
2402
GNU M4 1.4.6 or later is required; 1.4.14 is recommended" "$LINENO" 5
2395
2403
  fi
2396
2404
else
2397
2405
  ac_cv_path_M4=$M4
2422
2430
  if test x$ac_had_posixly_correct = xyes; then
2423
2431
    POSIXLY_CORRECT=:
2424
2432
    if test $ac_cv_prog_gnu_m4_gnu = no; then
2425
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The version of M4 that was found does not support -g." >&5
2426
 
$as_echo "$as_me: WARNING: The version of M4 that was found does not support -g." >&2;}
2427
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Using it with POSIXLY_CORRECT set may cause problems." >&5
2428
 
$as_echo "$as_me: WARNING: Using it with POSIXLY_CORRECT set may cause problems." >&2;}
 
2433
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the version of M4 that was found does not support -g" >&5
 
2434
$as_echo "$as_me: WARNING: the version of M4 that was found does not support -g" >&2;}
 
2435
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using it with POSIXLY_CORRECT set may cause problems" >&5
 
2436
$as_echo "$as_me: WARNING: using it with POSIXLY_CORRECT set may cause problems" >&2;}
2429
2437
    fi
2430
2438
  fi
2431
2439
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how m4 supports trace files" >&5
2502
2510
 
2503
2511
 
2504
2512
if test "$PERL" = no; then
2505
 
  as_fn_error "perl is not found" "$LINENO" 5
 
2513
  as_fn_error $? "perl is not found" "$LINENO" 5
2506
2514
fi
2507
2515
$PERL -e 'require 5.005_03;' || {
2508
 
   as_fn_error "Perl 5.005_03 or better is required" "$LINENO" 5
 
2516
   as_fn_error $? "Perl 5.005_03 or better is required" "$LINENO" 5
2509
2517
}
2510
2518
 
2511
2519
# Find out whether the system supports flock
2771
2779
  done
2772
2780
IFS=$as_save_IFS
2773
2781
  if test -z "$ac_cv_path_GREP"; then
2774
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
2782
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2775
2783
  fi
2776
2784
else
2777
2785
  ac_cv_path_GREP=$GREP
2837
2845
  done
2838
2846
IFS=$as_save_IFS
2839
2847
  if test -z "$ac_cv_path_EGREP"; then
2840
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
2848
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2841
2849
  fi
2842
2850
else
2843
2851
  ac_cv_path_EGREP=$EGREP
2907
2915
  done
2908
2916
IFS=$as_save_IFS
2909
2917
  if test -z "$ac_cv_path_SED"; then
2910
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
2918
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2911
2919
  fi
2912
2920
else
2913
2921
  ac_cv_path_SED=$SED
2926
2934
## ----- ##
2927
2935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} is case sensitive" >&5
2928
2936
$as_echo_n "checking whether ${MAKE-make} is case sensitive... " >&6; }
2929
 
if { as_var=ac_cv_prog_make_${ac_make}_case; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2937
if eval "test \"\${ac_cv_prog_make_${ac_make}_case+set}\"" = set; then :
2930
2938
  $as_echo_n "(cached) " >&6
2931
2939
else
2932
2940
  echo all: >conftest.make
3082
3090
 
3083
3091
ac_libobjs=
3084
3092
ac_ltlibobjs=
 
3093
U=
3085
3094
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3086
3095
  # 1. Remove the extension, and $U if already installed.
3087
3096
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3098
3107
 
3099
3108
 
3100
3109
if test -z "${MAKE_CASE_SENSITIVE_TRUE}" && test -z "${MAKE_CASE_SENSITIVE_FALSE}"; then
3101
 
  as_fn_error "conditional \"MAKE_CASE_SENSITIVE\" was never defined.
 
3110
  as_fn_error $? "conditional \"MAKE_CASE_SENSITIVE\" was never defined.
3102
3111
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3103
3112
fi
3104
3113
 
3248
3257
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3249
3258
 
3250
3259
 
3251
 
# as_fn_error ERROR [LINENO LOG_FD]
3252
 
# ---------------------------------
 
3260
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
3261
# ----------------------------------------
3253
3262
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3254
3263
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3255
 
# script with status $?, using 1 if that was 0.
 
3264
# script with STATUS, using 1 if that was 0.
3256
3265
as_fn_error ()
3257
3266
{
3258
 
  as_status=$?; test $as_status -eq 0 && as_status=1
3259
 
  if test "$3"; then
3260
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3261
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
3267
  as_status=$1; test $as_status -eq 0 && as_status=1
 
3268
  if test "$4"; then
 
3269
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
3270
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3262
3271
  fi
3263
 
  $as_echo "$as_me: error: $1" >&2
 
3272
  $as_echo "$as_me: error: $2" >&2
3264
3273
  as_fn_exit $as_status
3265
3274
} # as_fn_error
3266
3275
 
3456
3465
      test -d "$as_dir" && break
3457
3466
    done
3458
3467
    test -z "$as_dirs" || eval "mkdir $as_dirs"
3459
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
3468
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3460
3469
 
3461
3470
 
3462
3471
} # as_fn_mkdir_p
3509
3518
# report actual input values of CONFIG_FILES etc. instead of their
3510
3519
# values after options handling.
3511
3520
ac_log="
3512
 
This file was extended by GNU Autoconf $as_me 2.65, which was
3513
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
3521
This file was extended by GNU Autoconf $as_me 2.67, which was
 
3522
generated by GNU Autoconf 2.67.  Invocation command line was
3514
3523
 
3515
3524
  CONFIG_FILES    = $CONFIG_FILES
3516
3525
  CONFIG_HEADERS  = $CONFIG_HEADERS
3572
3581
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3573
3582
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3574
3583
ac_cs_version="\\
3575
 
GNU Autoconf config.status 2.65
3576
 
configured by $0, generated by GNU Autoconf 2.65,
 
3584
GNU Autoconf config.status 2.67
 
3585
configured by $0, generated by GNU Autoconf 2.67,
3577
3586
  with options \\"\$ac_cs_config\\"
3578
3587
 
3579
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
3588
Copyright (C) 2010 Free Software Foundation, Inc.
3580
3589
This config.status script is free software; the Free Software Foundation
3581
3590
gives unlimited permission to copy, distribute and modify it."
3582
3591
 
3594
3603
while test $# != 0
3595
3604
do
3596
3605
  case $1 in
3597
 
  --*=*)
 
3606
  --*=?*)
3598
3607
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3599
3608
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3600
3609
    ac_shift=:
3601
3610
    ;;
 
3611
  --*=)
 
3612
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
3613
    ac_optarg=
 
3614
    ac_shift=:
 
3615
    ;;
3602
3616
  *)
3603
3617
    ac_option=$1
3604
3618
    ac_optarg=$2
3620
3634
    $ac_shift
3621
3635
    case $ac_optarg in
3622
3636
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
3637
    '') as_fn_error $? "missing file argument" ;;
3623
3638
    esac
3624
3639
    as_fn_append CONFIG_FILES " '$ac_optarg'"
3625
3640
    ac_need_defaults=false;;
3630
3645
    ac_cs_silent=: ;;
3631
3646
 
3632
3647
  # This is an error.
3633
 
  -*) as_fn_error "unrecognized option: \`$1'
 
3648
  -*) as_fn_error $? "unrecognized option: \`$1'
3634
3649
Try \`$0 --help' for more information." ;;
3635
3650
 
3636
3651
  *) as_fn_append ac_config_targets " $1"
3701
3716
    "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3702
3717
    "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3703
3718
 
3704
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
3719
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3705
3720
  esac
3706
3721
done
3707
3722
 
3739
3754
{
3740
3755
  tmp=./conf$$-$RANDOM
3741
3756
  (umask 077 && mkdir "$tmp")
3742
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
3757
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3743
3758
 
3744
3759
# Set up the scripts for CONFIG_FILES section.
3745
3760
# No need to generate them if there are no CONFIG_FILES.
3756
3771
fi
3757
3772
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3758
3773
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3759
 
  ac_cs_awk_cr='\r'
 
3774
  ac_cs_awk_cr='\\r'
3760
3775
else
3761
3776
  ac_cs_awk_cr=$ac_cr
3762
3777
fi
3770
3785
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3771
3786
  echo "_ACEOF"
3772
3787
} >conf$$subs.sh ||
3773
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3774
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
3788
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
3789
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3775
3790
ac_delim='%!_!# '
3776
3791
for ac_last_try in false false false false false :; do
3777
3792
  . ./conf$$subs.sh ||
3778
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
3793
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3779
3794
 
3780
3795
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3781
3796
  if test $ac_delim_n = $ac_delim_num; then
3782
3797
    break
3783
3798
  elif $ac_last_try; then
3784
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
3799
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3785
3800
  else
3786
3801
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3787
3802
  fi
3870
3885
else
3871
3886
  cat
3872
3887
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3873
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
3888
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3874
3889
_ACEOF
3875
3890
 
3876
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3877
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
3891
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
3892
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3878
3893
# trailing colons and then remove the whole line if VPATH becomes empty
3879
3894
# (actually we leave an empty line to preserve line numbers).
3880
3895
if test "x$srcdir" = x.; then
3881
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3882
 
s/:*\$(srcdir):*/:/
3883
 
s/:*\${srcdir}:*/:/
3884
 
s/:*@srcdir@:*/:/
3885
 
s/^\([^=]*=[     ]*\):*/\1/
 
3896
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
3897
h
 
3898
s///
 
3899
s/^/:/
 
3900
s/[      ]*$/:/
 
3901
s/:\$(srcdir):/:/g
 
3902
s/:\${srcdir}:/:/g
 
3903
s/:@srcdir@:/:/g
 
3904
s/^:*//
3886
3905
s/:*$//
 
3906
x
 
3907
s/\(=[   ]*\).*/\1/
 
3908
G
 
3909
s/\n//
3887
3910
s/^[^=]*=[       ]*$//
3888
3911
}'
3889
3912
fi
3901
3924
  esac
3902
3925
  case $ac_mode$ac_tag in
3903
3926
  :[FHL]*:*);;
3904
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
3927
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3905
3928
  :[FH]-) ac_tag=-:-;;
3906
3929
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3907
3930
  esac
3929
3952
           [\\/$]*) false;;
3930
3953
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3931
3954
           esac ||
3932
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
3955
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3933
3956
      esac
3934
3957
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3935
3958
      as_fn_append ac_file_inputs " '$ac_f'"
3956
3979
 
3957
3980
    case $ac_tag in
3958
3981
    *:-:* | *:-) cat >"$tmp/stdin" \
3959
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
3982
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3960
3983
    esac
3961
3984
    ;;
3962
3985
  esac
4093
4116
$ac_datarootdir_hack
4094
4117
"
4095
4118
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4096
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
4119
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4097
4120
 
4098
4121
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4099
4122
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4100
4123
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4101
4124
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4102
 
which seems to be undefined.  Please make sure it is defined." >&5
 
4125
which seems to be undefined.  Please make sure it is defined" >&5
4103
4126
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4104
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
4127
which seems to be undefined.  Please make sure it is defined" >&2;}
4105
4128
 
4106
4129
  rm -f "$tmp/stdin"
4107
4130
  case $ac_file in
4108
4131
  -) cat "$tmp/out" && rm -f "$tmp/out";;
4109
4132
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4110
4133
  esac \
4111
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
4134
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4112
4135
 ;;
4113
4136
 
4114
4137
  :L)
4128
4151
$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
4129
4152
 
4130
4153
    if test ! -r "$ac_source"; then
4131
 
      as_fn_error "$ac_source: file not found" "$LINENO" 5
 
4154
      as_fn_error $? "$ac_source: file not found" "$LINENO" 5
4132
4155
    fi
4133
4156
    rm -f "$ac_file"
4134
4157
 
4135
4158
    # Try a relative symlink, then a hard link, then a copy.
4136
 
    case $srcdir in
 
4159
    case $ac_source in
4137
4160
    [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
4138
4161
        *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
4139
4162
    esac
4140
4163
    ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
4141
4164
      ln "$ac_source" "$ac_file" 2>/dev/null ||
4142
4165
      cp -p "$ac_source" "$ac_file" ||
4143
 
      as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
 
4166
      as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
4144
4167
  fi
4145
4168
 ;;
4146
4169
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4153
4176
    "tests/atconfig":C) cat >tests/atconfig <<ATEOF
4154
4177
# Configurable variable values for building test suites.
4155
4178
# Generated by $0.
4156
 
# Copyright (C) 2009 Free Software Foundation, Inc.
 
4179
# Copyright (C) 2010 Free Software Foundation, Inc.
4157
4180
 
4158
4181
# The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
4159
4182
at_testdir='tests'
4183
4206
ac_clean_files=$ac_clean_files_save
4184
4207
 
4185
4208
test $ac_write_fail = 0 ||
4186
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
4209
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4187
4210
 
4188
4211
 
4189
4212
# configure is writing to config.log, and then calls config.status.
4204
4227
  exec 5>>config.log
4205
4228
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4206
4229
  # would make configure fail if this is the last instruction.
4207
 
  $ac_cs_success || as_fn_exit $?
 
4230
  $ac_cs_success || as_fn_exit 1
4208
4231
fi
4209
4232
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4210
4233
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5