~ubuntu-branches/ubuntu/utopic/bbdb/utopic

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Barak A. Pearlmutter
  • Date: 2014-02-24 12:17:32 UTC
  • mfrom: (13.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140224121732-y107ua2xbj8xpcau
Tags: 2.36-4
* engage dh autoreconf, rm ./configure, relax regarding ./configure +x bit
* updates to debian/README.Debian and debian/README.source
* remove CVS keyword expansion artifacts
* add savannah repo pointers to bbdb.texinfo
* remove PHONY stuff in debian/rules
* remove stray old-style quasiquote in macro
* allow emacs24 to satisfy dependencies
* bump standards version, dh version
* single debian patch source option

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.67 for BBDB 2.36.
 
3
# Generated by GNU Autoconf 2.65 for BBDB 2.36.
4
4
#
5
5
# Report bugs to <bbdb-info@lists.sourceforge.net>.
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, 2010 Free Software
10
 
# Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
10
# Inc.
11
11
#
12
12
#
13
13
# This configure script is free software; the Free Software Foundation
320
320
      test -d "$as_dir" && break
321
321
    done
322
322
    test -z "$as_dirs" || eval "mkdir $as_dirs"
323
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
323
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
324
324
 
325
325
 
326
326
} # as_fn_mkdir_p
360
360
fi # as_fn_arith
361
361
 
362
362
 
363
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
364
 
# ----------------------------------------
 
363
# as_fn_error ERROR [LINENO LOG_FD]
 
364
# ---------------------------------
365
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
 
# script with STATUS, using 1 if that was 0.
 
367
# script with status $?, using 1 if that was 0.
368
368
as_fn_error ()
369
369
{
370
 
  as_status=$1; test $as_status -eq 0 && as_status=1
371
 
  if test "$4"; then
372
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
370
  as_status=$?; test $as_status -eq 0 && as_status=1
 
371
  if test "$3"; then
 
372
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
373
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374
374
  fi
375
 
  $as_echo "$as_me: error: $2" >&2
 
375
  $as_echo "$as_me: error: $1" >&2
376
376
  as_fn_exit $as_status
377
377
} # as_fn_error
378
378
 
534
534
exec 6>&1
535
535
 
536
536
# Name of the host.
537
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
537
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
538
538
# so uname gets run too.
539
539
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540
540
 
713
713
  fi
714
714
 
715
715
  case $ac_option in
716
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
717
 
  *=)   ac_optarg= ;;
718
 
  *)    ac_optarg=yes ;;
 
716
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
717
  *)    ac_optarg=yes ;;
719
718
  esac
720
719
 
721
720
  # Accept the important Cygnus configure options, so we can diagnose typos.
760
759
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
761
760
    # Reject names that are not valid shell variable names.
762
761
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
763
 
      as_fn_error $? "invalid feature name: $ac_useropt"
 
762
      as_fn_error "invalid feature name: $ac_useropt"
764
763
    ac_useropt_orig=$ac_useropt
765
764
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
766
765
    case $ac_user_opts in
786
785
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
787
786
    # Reject names that are not valid shell variable names.
788
787
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
789
 
      as_fn_error $? "invalid feature name: $ac_useropt"
 
788
      as_fn_error "invalid feature name: $ac_useropt"
790
789
    ac_useropt_orig=$ac_useropt
791
790
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792
791
    case $ac_user_opts in
990
989
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
991
990
    # Reject names that are not valid shell variable names.
992
991
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993
 
      as_fn_error $? "invalid package name: $ac_useropt"
 
992
      as_fn_error "invalid package name: $ac_useropt"
994
993
    ac_useropt_orig=$ac_useropt
995
994
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996
995
    case $ac_user_opts in
1006
1005
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1007
1006
    # Reject names that are not valid shell variable names.
1008
1007
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009
 
      as_fn_error $? "invalid package name: $ac_useropt"
 
1008
      as_fn_error "invalid package name: $ac_useropt"
1010
1009
    ac_useropt_orig=$ac_useropt
1011
1010
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012
1011
    case $ac_user_opts in
1036
1035
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1037
1036
    x_libraries=$ac_optarg ;;
1038
1037
 
1039
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1040
 
Try \`$0 --help' for more information"
 
1038
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1039
Try \`$0 --help' for more information."
1041
1040
    ;;
1042
1041
 
1043
1042
  *=*)
1045
1044
    # Reject names that are not valid shell variable names.
1046
1045
    case $ac_envvar in #(
1047
1046
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1048
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1047
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1049
1048
    esac
1050
1049
    eval $ac_envvar=\$ac_optarg
1051
1050
    export $ac_envvar ;;
1063
1062
 
1064
1063
if test -n "$ac_prev"; then
1065
1064
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1066
 
  as_fn_error $? "missing argument to $ac_option"
 
1065
  as_fn_error "missing argument to $ac_option"
1067
1066
fi
1068
1067
 
1069
1068
if test -n "$ac_unrecognized_opts"; then
1070
1069
  case $enable_option_checking in
1071
1070
    no) ;;
1072
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1071
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1073
1072
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1074
1073
  esac
1075
1074
fi
1092
1091
    [\\/$]* | ?:[\\/]* )  continue;;
1093
1092
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1094
1093
  esac
1095
 
  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"
1096
1095
done
1097
1096
 
1098
1097
# There might be people who depend on the old broken behavior: `$host'
1106
1105
if test "x$host_alias" != x; then
1107
1106
  if test "x$build_alias" = x; then
1108
1107
    cross_compiling=maybe
1109
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1110
 
    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
1111
1110
  elif test "x$build_alias" != "x$host_alias"; then
1112
1111
    cross_compiling=yes
1113
1112
  fi
1122
1121
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1123
1122
ac_ls_di=`ls -di .` &&
1124
1123
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1125
 
  as_fn_error $? "working directory cannot be determined"
 
1124
  as_fn_error "working directory cannot be determined"
1126
1125
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1127
 
  as_fn_error $? "pwd does not report name of working directory"
 
1126
  as_fn_error "pwd does not report name of working directory"
1128
1127
 
1129
1128
 
1130
1129
# Find the source files, if location was not specified.
1163
1162
fi
1164
1163
if test ! -r "$srcdir/$ac_unique_file"; then
1165
1164
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1166
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1165
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1167
1166
fi
1168
1167
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1169
1168
ac_abs_confdir=`(
1170
 
        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"
1171
1170
        pwd)`
1172
1171
# When building in place, set srcdir=.
1173
1172
if test "$ac_abs_confdir" = "$ac_pwd"; then
1207
1206
      --help=short        display options specific to this package
1208
1207
      --help=recursive    display the short help of all the included packages
1209
1208
  -V, --version           display version information and exit
1210
 
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1209
  -q, --quiet, --silent   do not print \`checking...' messages
1211
1210
      --cache-file=FILE   cache test results in FILE [disabled]
1212
1211
  -C, --config-cache      alias for \`--cache-file=config.cache'
1213
1212
  -n, --no-create         do not create output files
1347
1346
if $ac_init_version; then
1348
1347
  cat <<\_ACEOF
1349
1348
BBDB configure 2.36
1350
 
generated by GNU Autoconf 2.67
 
1349
generated by GNU Autoconf 2.65
1351
1350
 
1352
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
1351
Copyright (C) 2009 Free Software Foundation, Inc.
1353
1352
This configure script is free software; the Free Software Foundation
1354
1353
gives unlimited permission to copy, distribute and modify it.
1355
1354
 
1366
1365
running configure, to aid debugging if configure makes a mistake.
1367
1366
 
1368
1367
It was created by BBDB $as_me 2.36, which was
1369
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
1368
generated by GNU Autoconf 2.65.  Invocation command line was
1370
1369
 
1371
1370
  $ $0 $@
1372
1371
 
1476
1475
  {
1477
1476
    echo
1478
1477
 
1479
 
    $as_echo "## ---------------- ##
 
1478
    cat <<\_ASBOX
 
1479
## ---------------- ##
1480
1480
## Cache variables. ##
1481
 
## ---------------- ##"
 
1481
## ---------------- ##
 
1482
_ASBOX
1482
1483
    echo
1483
1484
    # The following way of writing the cache mishandles newlines in values,
1484
1485
(
1512
1513
)
1513
1514
    echo
1514
1515
 
1515
 
    $as_echo "## ----------------- ##
 
1516
    cat <<\_ASBOX
 
1517
## ----------------- ##
1516
1518
## Output variables. ##
1517
 
## ----------------- ##"
 
1519
## ----------------- ##
 
1520
_ASBOX
1518
1521
    echo
1519
1522
    for ac_var in $ac_subst_vars
1520
1523
    do
1527
1530
    echo
1528
1531
 
1529
1532
    if test -n "$ac_subst_files"; then
1530
 
      $as_echo "## ------------------- ##
 
1533
      cat <<\_ASBOX
 
1534
## ------------------- ##
1531
1535
## File substitutions. ##
1532
 
## ------------------- ##"
 
1536
## ------------------- ##
 
1537
_ASBOX
1533
1538
      echo
1534
1539
      for ac_var in $ac_subst_files
1535
1540
      do
1543
1548
    fi
1544
1549
 
1545
1550
    if test -s confdefs.h; then
1546
 
      $as_echo "## ----------- ##
 
1551
      cat <<\_ASBOX
 
1552
## ----------- ##
1547
1553
## confdefs.h. ##
1548
 
## ----------- ##"
 
1554
## ----------- ##
 
1555
_ASBOX
1549
1556
      echo
1550
1557
      cat confdefs.h
1551
1558
      echo
1600
1607
ac_site_file1=NONE
1601
1608
ac_site_file2=NONE
1602
1609
if test -n "$CONFIG_SITE"; then
1603
 
  # We do not want a PATH search for config.site.
1604
 
  case $CONFIG_SITE in #((
1605
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
1606
 
    */*) ac_site_file1=$CONFIG_SITE;;
1607
 
    *)   ac_site_file1=./$CONFIG_SITE;;
1608
 
  esac
 
1610
  ac_site_file1=$CONFIG_SITE
1609
1611
elif test "x$prefix" != xNONE; then
1610
1612
  ac_site_file1=$prefix/share/config.site
1611
1613
  ac_site_file2=$prefix/etc/config.site
1620
1622
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1621
1623
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1622
1624
    sed 's/^/| /' "$ac_site_file" >&5
1623
 
    . "$ac_site_file" \
1624
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1625
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1626
 
as_fn_error $? "failed to load site script $ac_site_file
1627
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
1625
    . "$ac_site_file"
1628
1626
  fi
1629
1627
done
1630
1628
 
1700
1698
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1701
1699
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1702
1700
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1703
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
1701
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1704
1702
fi
1705
1703
## -------------------- ##
1706
1704
## Main body of script. ##
1730
1728
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1731
1729
set x ${MAKE-make}
1732
1730
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1733
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
1731
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
1734
1732
  $as_echo_n "(cached) " >&6
1735
1733
else
1736
1734
  cat >conftest.make <<\_ACEOF
1738
1736
all:
1739
1737
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1740
1738
_ACEOF
1741
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
1739
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1742
1740
case `${MAKE-make} -f conftest.make 2>/dev/null` in
1743
1741
  *@@@%%%=?*=@@@%%%*)
1744
1742
    eval ac_cv_prog_make_${ac_make}_set=yes;;
1759
1757
 
1760
1758
ac_aux_dir=
1761
1759
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1762
 
  if test -f "$ac_dir/install-sh"; then
1763
 
    ac_aux_dir=$ac_dir
1764
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1765
 
    break
1766
 
  elif test -f "$ac_dir/install.sh"; then
1767
 
    ac_aux_dir=$ac_dir
1768
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1769
 
    break
1770
 
  elif test -f "$ac_dir/shtool"; then
1771
 
    ac_aux_dir=$ac_dir
1772
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1773
 
    break
1774
 
  fi
 
1760
  for ac_t in install-sh install.sh shtool; do
 
1761
    if test -f "$ac_dir/$ac_t"; then
 
1762
      ac_aux_dir=$ac_dir
 
1763
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
1764
      break 2
 
1765
    fi
 
1766
  done
1775
1767
done
1776
1768
if test -z "$ac_aux_dir"; then
1777
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
1769
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1778
1770
fi
1779
1771
 
1780
1772
# These three variables are undocumented and unsupported,
2276
2268
fi
2277
2269
 
2278
2270
    if test "x${EMACS_PROG}" = "x" ; then
2279
 
            as_fn_error $? "*** No Emacs program found." "$LINENO" 5
 
2271
            as_fn_error "*** No Emacs program found." "$LINENO" 5
2280
2272
    fi
2281
2273
        if test -x "${EMACS_PROG}"; then
2282
2274
      echo "yay" > /dev/null # because I don't know if 'if !' is portable
2283
2275
    else
2284
 
                as_fn_error $? "*** ${EMACS_PROG} isn't executable." "$LINENO" 5
 
2276
                as_fn_error "*** ${EMACS_PROG} isn't executable." "$LINENO" 5
2285
2277
        fi
2286
2278
            if test "x`echo $EMACS_PROG | grep \" \"`" != "x"; then
2287
2279
      EMACS_PROG=\"$EMACS_PROG\"
2398
2390
if test "x$enable_vm" != "x"; then
2399
2391
   BBDB_VM=`${EMACS_PROG} --no-site-file --no-init-file -batch -q -l ${BBDB_LOADPATH} -eval "(if (locate-library \"vm-autoload\") (message \"vm\"))" 2>&1`
2400
2392
   if test "x$BBDB_VM" = "x"; then
2401
 
          as_fn_error $? "*** Cannot build VM support without VM's source." "$LINENO" 5
 
2393
          as_fn_error "*** Cannot build VM support without VM's source." "$LINENO" 5
2402
2394
   fi
2403
2395
fi
2404
2396
 
2603
2595
 
2604
2596
ac_libobjs=
2605
2597
ac_ltlibobjs=
2606
 
U=
2607
2598
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2608
2599
  # 1. Remove the extension, and $U if already installed.
2609
2600
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2765
2756
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2766
2757
 
2767
2758
 
2768
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
2769
 
# ----------------------------------------
 
2759
# as_fn_error ERROR [LINENO LOG_FD]
 
2760
# ---------------------------------
2770
2761
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2771
2762
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2772
 
# script with STATUS, using 1 if that was 0.
 
2763
# script with status $?, using 1 if that was 0.
2773
2764
as_fn_error ()
2774
2765
{
2775
 
  as_status=$1; test $as_status -eq 0 && as_status=1
2776
 
  if test "$4"; then
2777
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2778
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
2766
  as_status=$?; test $as_status -eq 0 && as_status=1
 
2767
  if test "$3"; then
 
2768
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2769
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2779
2770
  fi
2780
 
  $as_echo "$as_me: error: $2" >&2
 
2771
  $as_echo "$as_me: error: $1" >&2
2781
2772
  as_fn_exit $as_status
2782
2773
} # as_fn_error
2783
2774
 
2973
2964
      test -d "$as_dir" && break
2974
2965
    done
2975
2966
    test -z "$as_dirs" || eval "mkdir $as_dirs"
2976
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
2967
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
2977
2968
 
2978
2969
 
2979
2970
} # as_fn_mkdir_p
3027
3018
# values after options handling.
3028
3019
ac_log="
3029
3020
This file was extended by BBDB $as_me 2.36, which was
3030
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
3021
generated by GNU Autoconf 2.65.  Invocation command line was
3031
3022
 
3032
3023
  CONFIG_FILES    = $CONFIG_FILES
3033
3024
  CONFIG_HEADERS  = $CONFIG_HEADERS
3080
3071
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3081
3072
ac_cs_version="\\
3082
3073
BBDB config.status 2.36
3083
 
configured by $0, generated by GNU Autoconf 2.67,
 
3074
configured by $0, generated by GNU Autoconf 2.65,
3084
3075
  with options \\"\$ac_cs_config\\"
3085
3076
 
3086
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
3077
Copyright (C) 2009 Free Software Foundation, Inc.
3087
3078
This config.status script is free software; the Free Software Foundation
3088
3079
gives unlimited permission to copy, distribute and modify it."
3089
3080
 
3099
3090
while test $# != 0
3100
3091
do
3101
3092
  case $1 in
3102
 
  --*=?*)
 
3093
  --*=*)
3103
3094
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3104
3095
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3105
3096
    ac_shift=:
3106
3097
    ;;
3107
 
  --*=)
3108
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3109
 
    ac_optarg=
3110
 
    ac_shift=:
3111
 
    ;;
3112
3098
  *)
3113
3099
    ac_option=$1
3114
3100
    ac_optarg=$2
3130
3116
    $ac_shift
3131
3117
    case $ac_optarg in
3132
3118
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3133
 
    '') as_fn_error $? "missing file argument" ;;
3134
3119
    esac
3135
3120
    as_fn_append CONFIG_FILES " '$ac_optarg'"
3136
3121
    ac_need_defaults=false;;
3141
3126
    ac_cs_silent=: ;;
3142
3127
 
3143
3128
  # This is an error.
3144
 
  -*) as_fn_error $? "unrecognized option: \`$1'
 
3129
  -*) as_fn_error "unrecognized option: \`$1'
3145
3130
Try \`$0 --help' for more information." ;;
3146
3131
 
3147
3132
  *) as_fn_append ac_config_targets " $1"
3197
3182
    "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
3198
3183
    "testing/Makefile") CONFIG_FILES="$CONFIG_FILES testing/Makefile" ;;
3199
3184
 
3200
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
3185
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3201
3186
  esac
3202
3187
done
3203
3188
 
3233
3218
{
3234
3219
  tmp=./conf$$-$RANDOM
3235
3220
  (umask 077 && mkdir "$tmp")
3236
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
3221
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3237
3222
 
3238
3223
# Set up the scripts for CONFIG_FILES section.
3239
3224
# No need to generate them if there are no CONFIG_FILES.
3250
3235
fi
3251
3236
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3252
3237
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3253
 
  ac_cs_awk_cr='\\r'
 
3238
  ac_cs_awk_cr='\r'
3254
3239
else
3255
3240
  ac_cs_awk_cr=$ac_cr
3256
3241
fi
3264
3249
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3265
3250
  echo "_ACEOF"
3266
3251
} >conf$$subs.sh ||
3267
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3268
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
3252
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
3253
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3269
3254
ac_delim='%!_!# '
3270
3255
for ac_last_try in false false false false false :; do
3271
3256
  . ./conf$$subs.sh ||
3272
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
3257
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3273
3258
 
3274
3259
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3275
3260
  if test $ac_delim_n = $ac_delim_num; then
3276
3261
    break
3277
3262
  elif $ac_last_try; then
3278
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
3263
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3279
3264
  else
3280
3265
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3281
3266
  fi
3364
3349
else
3365
3350
  cat
3366
3351
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3367
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
3352
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
3368
3353
_ACEOF
3369
3354
 
3370
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3371
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
3355
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
3356
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3372
3357
# trailing colons and then remove the whole line if VPATH becomes empty
3373
3358
# (actually we leave an empty line to preserve line numbers).
3374
3359
if test "x$srcdir" = x.; then
3375
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
3376
 
h
3377
 
s///
3378
 
s/^/:/
3379
 
s/[      ]*$/:/
3380
 
s/:\$(srcdir):/:/g
3381
 
s/:\${srcdir}:/:/g
3382
 
s/:@srcdir@:/:/g
3383
 
s/^:*//
 
3360
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
3361
s/:*\$(srcdir):*/:/
 
3362
s/:*\${srcdir}:*/:/
 
3363
s/:*@srcdir@:*/:/
 
3364
s/^\([^=]*=[     ]*\):*/\1/
3384
3365
s/:*$//
3385
 
x
3386
 
s/\(=[   ]*\).*/\1/
3387
 
G
3388
 
s/\n//
3389
3366
s/^[^=]*=[       ]*$//
3390
3367
}'
3391
3368
fi
3403
3380
  esac
3404
3381
  case $ac_mode$ac_tag in
3405
3382
  :[FHL]*:*);;
3406
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
3383
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3407
3384
  :[FH]-) ac_tag=-:-;;
3408
3385
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3409
3386
  esac
3431
3408
           [\\/$]*) false;;
3432
3409
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3433
3410
           esac ||
3434
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
3411
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3435
3412
      esac
3436
3413
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3437
3414
      as_fn_append ac_file_inputs " '$ac_f'"
3458
3435
 
3459
3436
    case $ac_tag in
3460
3437
    *:-:* | *:-) cat >"$tmp/stdin" \
3461
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
3438
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3462
3439
    esac
3463
3440
    ;;
3464
3441
  esac
3589
3566
$ac_datarootdir_hack
3590
3567
"
3591
3568
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3592
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
3569
  || as_fn_error "could not create $ac_file" "$LINENO" 5
3593
3570
 
3594
3571
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3595
3572
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3596
3573
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3597
3574
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3598
 
which seems to be undefined.  Please make sure it is defined" >&5
 
3575
which seems to be undefined.  Please make sure it is defined." >&5
3599
3576
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3600
 
which seems to be undefined.  Please make sure it is defined" >&2;}
 
3577
which seems to be undefined.  Please make sure it is defined." >&2;}
3601
3578
 
3602
3579
  rm -f "$tmp/stdin"
3603
3580
  case $ac_file in
3604
3581
  -) cat "$tmp/out" && rm -f "$tmp/out";;
3605
3582
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3606
3583
  esac \
3607
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
3584
  || as_fn_error "could not create $ac_file" "$LINENO" 5
3608
3585
 ;;
3609
3586
 
3610
3587
 
3619
3596
ac_clean_files=$ac_clean_files_save
3620
3597
 
3621
3598
test $ac_write_fail = 0 ||
3622
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
3599
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3623
3600
 
3624
3601
 
3625
3602
# configure is writing to config.log, and then calls config.status.
3640
3617
  exec 5>>config.log
3641
3618
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3642
3619
  # would make configure fail if this is the last instruction.
3643
 
  $ac_cs_success || as_fn_exit 1
 
3620
  $ac_cs_success || as_fn_exit $?
3644
3621
fi
3645
3622
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3646
3623
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5