~ubuntu-branches/ubuntu/trusty/aide/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-10-12 16:10:31 UTC
  • mfrom: (1.1.7 upstream) (5.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101012161031-42m31lgd5d6yngt0
Tags: 0.15.1-1ubuntu1
* Merge with Debian unstable; remaining Ubuntu changes:
  - debian/aide.conf.d/70_aide_dev: escape another special character in
    filenames. (LP #456710)

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 aide 0.14.2.
 
3
# Generated by GNU Autoconf 2.67 for aide 0.15.1.
4
4
#
5
5
#
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8
 
# Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
8
# Foundation, Inc.
9
9
#
10
10
#
11
11
# This configure script is free software; the Free Software Foundation
316
316
      test -d "$as_dir" && break
317
317
    done
318
318
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
319
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
320
 
321
321
 
322
322
} # as_fn_mkdir_p
356
356
fi # as_fn_arith
357
357
 
358
358
 
359
 
# as_fn_error ERROR [LINENO LOG_FD]
360
 
# ---------------------------------
 
359
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
360
# ----------------------------------------
361
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
# script with status $?, using 1 if that was 0.
 
363
# script with STATUS, using 1 if that was 0.
364
364
as_fn_error ()
365
365
{
366
 
  as_status=$?; test $as_status -eq 0 && as_status=1
367
 
  if test "$3"; then
368
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
366
  as_status=$1; test $as_status -eq 0 && as_status=1
 
367
  if test "$4"; then
 
368
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
369
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370
370
  fi
371
 
  $as_echo "$as_me: error: $1" >&2
 
371
  $as_echo "$as_me: error: $2" >&2
372
372
  as_fn_exit $as_status
373
373
} # as_fn_error
374
374
 
530
530
exec 6>&1
531
531
 
532
532
# Name of the host.
533
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
533
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534
534
# so uname gets run too.
535
535
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
536
 
549
549
# Identity of this package.
550
550
PACKAGE_NAME='aide'
551
551
PACKAGE_TARNAME='aide'
552
 
PACKAGE_VERSION='0.14.2'
553
 
PACKAGE_STRING='aide 0.14.2'
 
552
PACKAGE_VERSION='0.15.1'
 
553
PACKAGE_STRING='aide 0.15.1'
554
554
PACKAGE_BUGREPORT=''
555
555
PACKAGE_URL=''
556
556
 
601
601
USE_CURL_FALSE
602
602
USE_CURL_TRUE
603
603
curlconfig
 
604
E2FSATTRSLIB
604
605
ATTRLIB
605
606
ELFLIB
606
607
SELINUXLIB
727
728
with_selinux
728
729
with_prelink
729
730
with_xattr
 
731
with_e2fsattrs
730
732
enable_lfs
731
733
with_config_file
732
734
with_gnu_regexp
815
817
  fi
816
818
 
817
819
  case $ac_option in
818
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
819
 
  *)    ac_optarg=yes ;;
 
820
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
821
  *=)   ac_optarg= ;;
 
822
  *)    ac_optarg=yes ;;
820
823
  esac
821
824
 
822
825
  # Accept the important Cygnus configure options, so we can diagnose typos.
861
864
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
862
865
    # Reject names that are not valid shell variable names.
863
866
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
864
 
      as_fn_error "invalid feature name: $ac_useropt"
 
867
      as_fn_error $? "invalid feature name: $ac_useropt"
865
868
    ac_useropt_orig=$ac_useropt
866
869
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
867
870
    case $ac_user_opts in
887
890
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
888
891
    # Reject names that are not valid shell variable names.
889
892
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
890
 
      as_fn_error "invalid feature name: $ac_useropt"
 
893
      as_fn_error $? "invalid feature name: $ac_useropt"
891
894
    ac_useropt_orig=$ac_useropt
892
895
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
893
896
    case $ac_user_opts in
1091
1094
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1092
1095
    # Reject names that are not valid shell variable names.
1093
1096
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094
 
      as_fn_error "invalid package name: $ac_useropt"
 
1097
      as_fn_error $? "invalid package name: $ac_useropt"
1095
1098
    ac_useropt_orig=$ac_useropt
1096
1099
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097
1100
    case $ac_user_opts in
1107
1110
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108
1111
    # Reject names that are not valid shell variable names.
1109
1112
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1110
 
      as_fn_error "invalid package name: $ac_useropt"
 
1113
      as_fn_error $? "invalid package name: $ac_useropt"
1111
1114
    ac_useropt_orig=$ac_useropt
1112
1115
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113
1116
    case $ac_user_opts in
1137
1140
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1138
1141
    x_libraries=$ac_optarg ;;
1139
1142
 
1140
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1141
 
Try \`$0 --help' for more information."
 
1143
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1144
Try \`$0 --help' for more information"
1142
1145
    ;;
1143
1146
 
1144
1147
  *=*)
1146
1149
    # Reject names that are not valid shell variable names.
1147
1150
    case $ac_envvar in #(
1148
1151
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1149
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1152
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1150
1153
    esac
1151
1154
    eval $ac_envvar=\$ac_optarg
1152
1155
    export $ac_envvar ;;
1164
1167
 
1165
1168
if test -n "$ac_prev"; then
1166
1169
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1167
 
  as_fn_error "missing argument to $ac_option"
 
1170
  as_fn_error $? "missing argument to $ac_option"
1168
1171
fi
1169
1172
 
1170
1173
if test -n "$ac_unrecognized_opts"; then
1171
1174
  case $enable_option_checking in
1172
1175
    no) ;;
1173
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1176
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1174
1177
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1175
1178
  esac
1176
1179
fi
1193
1196
    [\\/$]* | ?:[\\/]* )  continue;;
1194
1197
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195
1198
  esac
1196
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1199
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1197
1200
done
1198
1201
 
1199
1202
# There might be people who depend on the old broken behavior: `$host'
1207
1210
if test "x$host_alias" != x; then
1208
1211
  if test "x$build_alias" = x; then
1209
1212
    cross_compiling=maybe
1210
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1211
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1213
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1214
    If a cross compiler is detected then cross compile mode will be used" >&2
1212
1215
  elif test "x$build_alias" != "x$host_alias"; then
1213
1216
    cross_compiling=yes
1214
1217
  fi
1223
1226
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1224
1227
ac_ls_di=`ls -di .` &&
1225
1228
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1226
 
  as_fn_error "working directory cannot be determined"
 
1229
  as_fn_error $? "working directory cannot be determined"
1227
1230
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1228
 
  as_fn_error "pwd does not report name of working directory"
 
1231
  as_fn_error $? "pwd does not report name of working directory"
1229
1232
 
1230
1233
 
1231
1234
# Find the source files, if location was not specified.
1264
1267
fi
1265
1268
if test ! -r "$srcdir/$ac_unique_file"; then
1266
1269
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1267
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1270
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1268
1271
fi
1269
1272
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270
1273
ac_abs_confdir=`(
1271
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1274
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1272
1275
        pwd)`
1273
1276
# When building in place, set srcdir=.
1274
1277
if test "$ac_abs_confdir" = "$ac_pwd"; then
1294
1297
  # Omit some internal or obsolete options to make the list less imposing.
1295
1298
  # This message is too long to be a string in the A/UX 3.1 sh.
1296
1299
  cat <<_ACEOF
1297
 
\`configure' configures aide 0.14.2 to adapt to many kinds of systems.
 
1300
\`configure' configures aide 0.15.1 to adapt to many kinds of systems.
1298
1301
 
1299
1302
Usage: $0 [OPTION]... [VAR=VALUE]...
1300
1303
 
1308
1311
      --help=short        display options specific to this package
1309
1312
      --help=recursive    display the short help of all the included packages
1310
1313
  -V, --version           display version information and exit
1311
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1314
  -q, --quiet, --silent   do not print \`checking ...' messages
1312
1315
      --cache-file=FILE   cache test results in FILE [disabled]
1313
1316
  -C, --config-cache      alias for \`--cache-file=config.cache'
1314
1317
  -n, --no-create         do not create output files
1365
1368
 
1366
1369
if test -n "$ac_init_help"; then
1367
1370
  case $ac_init_help in
1368
 
     short | recursive ) echo "Configuration of aide 0.14.2:";;
 
1371
     short | recursive ) echo "Configuration of aide 0.15.1:";;
1369
1372
   esac
1370
1373
  cat <<\_ACEOF
1371
1374
 
1402
1405
  --with-selinux          use SELinux (no checking)
1403
1406
  --with-prelink          use prelink (no checking)
1404
1407
  --with-xattr            use xattr (no checking)
 
1408
  --with-e2fsattrs        use e2fsattrs (no checking)
1405
1409
  --with-config-file=config-file
1406
1410
                          use config-file as the default config file
1407
1411
  --with-gnu-regexp       use the bundled GNU regexp library. use only if
1508
1512
test -n "$ac_init_help" && exit $ac_status
1509
1513
if $ac_init_version; then
1510
1514
  cat <<\_ACEOF
1511
 
aide configure 0.14.2
1512
 
generated by GNU Autoconf 2.65
 
1515
aide configure 0.15.1
 
1516
generated by GNU Autoconf 2.67
1513
1517
 
1514
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1518
Copyright (C) 2010 Free Software Foundation, Inc.
1515
1519
This configure script is free software; the Free Software Foundation
1516
1520
gives unlimited permission to copy, distribute and modify it.
1517
1521
_ACEOF
1614
1618
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615
1619
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1616
1620
$as_echo_n "checking for $2... " >&6; }
1617
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1621
if eval "test \"\${$3+set}\"" = set; then :
1618
1622
  $as_echo_n "(cached) " >&6
1619
1623
else
1620
1624
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736
1740
    mv -f conftest.er1 conftest.err
1737
1741
  fi
1738
1742
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739
 
  test $ac_status = 0; } >/dev/null && {
 
1743
  test $ac_status = 0; } > conftest.i && {
1740
1744
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1741
1745
         test ! -s conftest.err
1742
1746
       }; then :
1761
1765
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762
1766
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1763
1767
$as_echo_n "checking for $2... " >&6; }
1764
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1768
if eval "test \"\${$3+set}\"" = set; then :
1765
1769
  $as_echo_n "(cached) " >&6
1766
1770
else
1767
1771
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792
1796
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793
1797
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1794
1798
$as_echo_n "checking for $2... " >&6; }
1795
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1799
if eval "test \"\${$3+set}\"" = set; then :
1796
1800
  $as_echo_n "(cached) " >&6
1797
1801
else
1798
1802
  eval "$3=no"
2023
2027
ac_fn_c_check_header_mongrel ()
2024
2028
{
2025
2029
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2030
  if eval "test \"\${$3+set}\"" = set; then :
2027
2031
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2028
2032
$as_echo_n "checking for $2... " >&6; }
2029
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2033
if eval "test \"\${$3+set}\"" = set; then :
2030
2034
  $as_echo_n "(cached) " >&6
2031
2035
fi
2032
2036
eval ac_res=\$$3
2062
2066
else
2063
2067
  ac_header_preproc=no
2064
2068
fi
2065
 
rm -f conftest.err conftest.$ac_ext
 
2069
rm -f conftest.err conftest.i conftest.$ac_ext
2066
2070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2067
2071
$as_echo "$ac_header_preproc" >&6; }
2068
2072
 
2089
2093
esac
2090
2094
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2091
2095
$as_echo_n "checking for $2... " >&6; }
2092
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2096
if eval "test \"\${$3+set}\"" = set; then :
2093
2097
  $as_echo_n "(cached) " >&6
2094
2098
else
2095
2099
  eval "$3=\$ac_header_compiler"
2105
2109
This file contains any messages produced by compilers while
2106
2110
running configure, to aid debugging if configure makes a mistake.
2107
2111
 
2108
 
It was created by aide $as_me 0.14.2, which was
2109
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
2112
It was created by aide $as_me 0.15.1, which was
 
2113
generated by GNU Autoconf 2.67.  Invocation command line was
2110
2114
 
2111
2115
  $ $0 $@
2112
2116
 
2216
2220
  {
2217
2221
    echo
2218
2222
 
2219
 
    cat <<\_ASBOX
2220
 
## ---------------- ##
 
2223
    $as_echo "## ---------------- ##
2221
2224
## Cache variables. ##
2222
 
## ---------------- ##
2223
 
_ASBOX
 
2225
## ---------------- ##"
2224
2226
    echo
2225
2227
    # The following way of writing the cache mishandles newlines in values,
2226
2228
(
2254
2256
)
2255
2257
    echo
2256
2258
 
2257
 
    cat <<\_ASBOX
2258
 
## ----------------- ##
 
2259
    $as_echo "## ----------------- ##
2259
2260
## Output variables. ##
2260
 
## ----------------- ##
2261
 
_ASBOX
 
2261
## ----------------- ##"
2262
2262
    echo
2263
2263
    for ac_var in $ac_subst_vars
2264
2264
    do
2271
2271
    echo
2272
2272
 
2273
2273
    if test -n "$ac_subst_files"; then
2274
 
      cat <<\_ASBOX
2275
 
## ------------------- ##
 
2274
      $as_echo "## ------------------- ##
2276
2275
## File substitutions. ##
2277
 
## ------------------- ##
2278
 
_ASBOX
 
2276
## ------------------- ##"
2279
2277
      echo
2280
2278
      for ac_var in $ac_subst_files
2281
2279
      do
2289
2287
    fi
2290
2288
 
2291
2289
    if test -s confdefs.h; then
2292
 
      cat <<\_ASBOX
2293
 
## ----------- ##
 
2290
      $as_echo "## ----------- ##
2294
2291
## confdefs.h. ##
2295
 
## ----------- ##
2296
 
_ASBOX
 
2292
## ----------- ##"
2297
2293
      echo
2298
2294
      cat confdefs.h
2299
2295
      echo
2348
2344
ac_site_file1=NONE
2349
2345
ac_site_file2=NONE
2350
2346
if test -n "$CONFIG_SITE"; then
2351
 
  ac_site_file1=$CONFIG_SITE
 
2347
  # We do not want a PATH search for config.site.
 
2348
  case $CONFIG_SITE in #((
 
2349
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2350
    */*) ac_site_file1=$CONFIG_SITE;;
 
2351
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2352
  esac
2352
2353
elif test "x$prefix" != xNONE; then
2353
2354
  ac_site_file1=$prefix/share/config.site
2354
2355
  ac_site_file2=$prefix/etc/config.site
2363
2364
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2364
2365
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2365
2366
    sed 's/^/| /' "$ac_site_file" >&5
2366
 
    . "$ac_site_file"
 
2367
    . "$ac_site_file" \
 
2368
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2369
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2370
as_fn_error $? "failed to load site script $ac_site_file
 
2371
See \`config.log' for more details" "$LINENO" 5 ; }
2367
2372
  fi
2368
2373
done
2369
2374
 
2439
2444
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2440
2445
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2441
2446
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2442
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2447
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2443
2448
fi
2444
2449
## -------------------- ##
2445
2450
## Main body of script. ##
2455
2460
 
2456
2461
ac_aux_dir=
2457
2462
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2458
 
  for ac_t in install-sh install.sh shtool; do
2459
 
    if test -f "$ac_dir/$ac_t"; then
2460
 
      ac_aux_dir=$ac_dir
2461
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2462
 
      break 2
2463
 
    fi
2464
 
  done
 
2463
  if test -f "$ac_dir/install-sh"; then
 
2464
    ac_aux_dir=$ac_dir
 
2465
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2466
    break
 
2467
  elif test -f "$ac_dir/install.sh"; then
 
2468
    ac_aux_dir=$ac_dir
 
2469
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2470
    break
 
2471
  elif test -f "$ac_dir/shtool"; then
 
2472
    ac_aux_dir=$ac_dir
 
2473
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2474
    break
 
2475
  fi
2465
2476
done
2466
2477
if test -z "$ac_aux_dir"; then
2467
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2478
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2468
2479
fi
2469
2480
 
2470
2481
# These three variables are undocumented and unsupported,
2478
2489
 
2479
2490
# Make sure we can run config.sub.
2480
2491
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2481
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2492
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2482
2493
 
2483
2494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2484
2495
$as_echo_n "checking build system type... " >&6; }
2489
2500
test "x$ac_build_alias" = x &&
2490
2501
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2491
2502
test "x$ac_build_alias" = x &&
2492
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
2503
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2493
2504
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2494
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2505
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2495
2506
 
2496
2507
fi
2497
2508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2498
2509
$as_echo "$ac_cv_build" >&6; }
2499
2510
case $ac_cv_build in
2500
2511
*-*-*) ;;
2501
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
2512
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2502
2513
esac
2503
2514
build=$ac_cv_build
2504
2515
ac_save_IFS=$IFS; IFS='-'
2523
2534
  ac_cv_host=$ac_cv_build
2524
2535
else
2525
2536
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2526
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2537
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2527
2538
fi
2528
2539
 
2529
2540
fi
2531
2542
$as_echo "$ac_cv_host" >&6; }
2532
2543
case $ac_cv_host in
2533
2544
*-*-*) ;;
2534
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
2545
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2535
2546
esac
2536
2547
host=$ac_cv_host
2537
2548
ac_save_IFS=$IFS; IFS='-'
2556
2567
  ac_cv_target=$ac_cv_host
2557
2568
else
2558
2569
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2559
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 
2570
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2560
2571
fi
2561
2572
 
2562
2573
fi
2564
2575
$as_echo "$ac_cv_target" >&6; }
2565
2576
case $ac_cv_target in
2566
2577
*-*-*) ;;
2567
 
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
 
2578
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
2568
2579
esac
2569
2580
target=$ac_cv_target
2570
2581
ac_save_IFS=$IFS; IFS='-'
2692
2703
'
2693
2704
case `pwd` in
2694
2705
  *[\\\"\#\$\&\'\`$am_lf]*)
2695
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2706
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2696
2707
esac
2697
2708
case $srcdir in
2698
2709
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2699
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2710
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2700
2711
esac
2701
2712
 
2702
2713
# Do `set' in a subshell so we don't clobber the current shell's
2718
2729
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2719
2730
      # broken ls alias from the environment.  This has actually
2720
2731
      # happened.  Such a system could not be considered "sane".
2721
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2732
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2722
2733
alias in your environment" "$LINENO" 5
2723
2734
   fi
2724
2735
 
2728
2739
   # Ok.
2729
2740
   :
2730
2741
else
2731
 
   as_fn_error "newly created file is older than distributed files!
 
2742
   as_fn_error $? "newly created file is older than distributed files!
2732
2743
Check your system clock" "$LINENO" 5
2733
2744
fi
2734
2745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2966
2977
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2967
2978
set x ${MAKE-make}
2968
2979
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2969
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2980
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2970
2981
  $as_echo_n "(cached) " >&6
2971
2982
else
2972
2983
  cat >conftest.make <<\_ACEOF
2974
2985
all:
2975
2986
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2976
2987
_ACEOF
2977
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2988
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2978
2989
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2979
2990
  *@@@%%%=?*=@@@%%%*)
2980
2991
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3008
3019
  am__isrc=' -I$(srcdir)'
3009
3020
  # test to see if srcdir already configured
3010
3021
  if test -f $srcdir/config.status; then
3011
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3022
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3012
3023
  fi
3013
3024
fi
3014
3025
 
3024
3035
 
3025
3036
# Define the identity of the package.
3026
3037
 PACKAGE='aide'
3027
 
 VERSION='0.14.2'
 
3038
 VERSION='0.15.1'
3028
3039
 
3029
3040
 
3030
3041
cat >>confdefs.h <<_ACEOF
3066
3077
 
3067
3078
 
3068
3079
cat >>confdefs.h <<_ACEOF
3069
 
#define AIDEVERSION "0.14.2"
 
3080
#define AIDEVERSION "0.15.1"
3070
3081
_ACEOF
3071
3082
 
3072
3083
 
3374
3385
 
3375
3386
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3376
3387
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3377
 
as_fn_error "no acceptable C compiler found in \$PATH
3378
 
See \`config.log' for more details." "$LINENO" 5; }
 
3388
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3389
See \`config.log' for more details" "$LINENO" 5 ; }
3379
3390
 
3380
3391
# Provide some information about the compiler.
3381
3392
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3489
3500
 
3490
3501
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3491
3502
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3492
 
{ as_fn_set_status 77
3493
 
as_fn_error "C compiler cannot create executables
3494
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3503
as_fn_error 77 "C compiler cannot create executables
 
3504
See \`config.log' for more details" "$LINENO" 5 ; }
3495
3505
else
3496
3506
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3497
3507
$as_echo "yes" >&6; }
3533
3543
else
3534
3544
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3535
3545
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3536
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3537
 
See \`config.log' for more details." "$LINENO" 5; }
 
3546
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3547
See \`config.log' for more details" "$LINENO" 5 ; }
3538
3548
fi
3539
3549
rm -f conftest conftest$ac_cv_exeext
3540
3550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3591
3601
    else
3592
3602
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3593
3603
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3594
 
as_fn_error "cannot run C compiled programs.
 
3604
as_fn_error $? "cannot run C compiled programs.
3595
3605
If you meant to cross compile, use \`--host'.
3596
 
See \`config.log' for more details." "$LINENO" 5; }
 
3606
See \`config.log' for more details" "$LINENO" 5 ; }
3597
3607
    fi
3598
3608
  fi
3599
3609
fi
3644
3654
 
3645
3655
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3646
3656
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3647
 
as_fn_error "cannot compute suffix of object files: cannot compile
3648
 
See \`config.log' for more details." "$LINENO" 5; }
 
3657
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3658
See \`config.log' for more details" "$LINENO" 5 ; }
3649
3659
fi
3650
3660
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3651
3661
fi
4058
4068
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4059
4069
set x ${MAKE-make}
4060
4070
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4061
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
4071
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
4062
4072
  $as_echo_n "(cached) " >&6
4063
4073
else
4064
4074
  cat >conftest.make <<\_ACEOF
4066
4076
all:
4067
4077
        @echo '@@@%%%=$(MAKE)=@@@%%%'
4068
4078
_ACEOF
4069
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
4079
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4070
4080
case `${MAKE-make} -f conftest.make 2>/dev/null` in
4071
4081
  *@@@%%%=?*=@@@%%%*)
4072
4082
    eval ac_cv_prog_make_${ac_make}_set=yes;;
4312
4322
elif test -f lexyy.c; then
4313
4323
  ac_cv_prog_lex_root=lexyy
4314
4324
else
4315
 
  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
 
4325
  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4316
4326
fi
4317
4327
fi
4318
4328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4821
4831
  # Broken: fails on valid input.
4822
4832
continue
4823
4833
fi
4824
 
rm -f conftest.err conftest.$ac_ext
 
4834
rm -f conftest.err conftest.i conftest.$ac_ext
4825
4835
 
4826
4836
  # OK, works on sane cases.  Now check whether nonexistent headers
4827
4837
  # can be detected and how.
4837
4847
ac_preproc_ok=:
4838
4848
break
4839
4849
fi
4840
 
rm -f conftest.err conftest.$ac_ext
 
4850
rm -f conftest.err conftest.i conftest.$ac_ext
4841
4851
 
4842
4852
done
4843
4853
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4844
 
rm -f conftest.err conftest.$ac_ext
 
4854
rm -f conftest.i conftest.err conftest.$ac_ext
4845
4855
if $ac_preproc_ok; then :
4846
4856
  break
4847
4857
fi
4880
4890
  # Broken: fails on valid input.
4881
4891
continue
4882
4892
fi
4883
 
rm -f conftest.err conftest.$ac_ext
 
4893
rm -f conftest.err conftest.i conftest.$ac_ext
4884
4894
 
4885
4895
  # OK, works on sane cases.  Now check whether nonexistent headers
4886
4896
  # can be detected and how.
4896
4906
ac_preproc_ok=:
4897
4907
break
4898
4908
fi
4899
 
rm -f conftest.err conftest.$ac_ext
 
4909
rm -f conftest.err conftest.i conftest.$ac_ext
4900
4910
 
4901
4911
done
4902
4912
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4903
 
rm -f conftest.err conftest.$ac_ext
 
4913
rm -f conftest.i conftest.err conftest.$ac_ext
4904
4914
if $ac_preproc_ok; then :
4905
4915
 
4906
4916
else
4907
4917
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4908
4918
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4909
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
4910
 
See \`config.log' for more details." "$LINENO" 5; }
 
4919
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4920
See \`config.log' for more details" "$LINENO" 5 ; }
4911
4921
fi
4912
4922
 
4913
4923
ac_ext=c
4968
4978
  done
4969
4979
IFS=$as_save_IFS
4970
4980
  if test -z "$ac_cv_path_GREP"; then
4971
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4981
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4972
4982
  fi
4973
4983
else
4974
4984
  ac_cv_path_GREP=$GREP
5034
5044
  done
5035
5045
IFS=$as_save_IFS
5036
5046
  if test -z "$ac_cv_path_EGREP"; then
5037
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5047
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5038
5048
  fi
5039
5049
else
5040
5050
  ac_cv_path_EGREP=$EGREP
5166
5176
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5167
5177
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5168
5178
"
5169
 
eval as_val=\$$as_ac_Header
5170
 
   if test "x$as_val" = x""yes; then :
 
5179
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5171
5180
  cat >>confdefs.h <<_ACEOF
5172
5181
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5173
5182
_ACEOF
5400
5409
 
5401
5410
     ;; #(
5402
5411
   *)
5403
 
     as_fn_error "unknown endianness
5404
 
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
 
5412
     as_fn_error $? "unknown endianness
 
5413
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
5405
5414
 esac
5406
5415
 
5407
5416
 
5476
5485
  if test "$ac_cv_type_unsigned_short" = yes; then
5477
5486
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5478
5487
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5479
 
{ as_fn_set_status 77
5480
 
as_fn_error "cannot compute sizeof (unsigned short)
5481
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
5488
as_fn_error 77 "cannot compute sizeof (unsigned short)
 
5489
See \`config.log' for more details" "$LINENO" 5 ; }
5482
5490
   else
5483
5491
     ac_cv_sizeof_unsigned_short=0
5484
5492
   fi
5510
5518
  if test "$ac_cv_type_unsigned_int" = yes; then
5511
5519
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5512
5520
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5513
 
{ as_fn_set_status 77
5514
 
as_fn_error "cannot compute sizeof (unsigned int)
5515
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
5521
as_fn_error 77 "cannot compute sizeof (unsigned int)
 
5522
See \`config.log' for more details" "$LINENO" 5 ; }
5516
5523
   else
5517
5524
     ac_cv_sizeof_unsigned_int=0
5518
5525
   fi
5544
5551
  if test "$ac_cv_type_unsigned_long" = yes; then
5545
5552
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5546
5553
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5547
 
{ as_fn_set_status 77
5548
 
as_fn_error "cannot compute sizeof (unsigned long)
5549
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
5554
as_fn_error 77 "cannot compute sizeof (unsigned long)
 
5555
See \`config.log' for more details" "$LINENO" 5 ; }
5550
5556
   else
5551
5557
     ac_cv_sizeof_unsigned_long=0
5552
5558
   fi
5578
5584
  if test "$ac_cv_type_long_long" = yes; then
5579
5585
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5580
5586
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5581
 
{ as_fn_set_status 77
5582
 
as_fn_error "cannot compute sizeof (long long)
5583
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
5587
as_fn_error 77 "cannot compute sizeof (long long)
 
5588
See \`config.log' for more details" "$LINENO" 5 ; }
5584
5589
   else
5585
5590
     ac_cv_sizeof_long_long=0
5586
5591
   fi
5612
5617
  if test "$ac_cv_type_unsigned_long_long" = yes; then
5613
5618
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5614
5619
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5615
 
{ as_fn_set_status 77
5616
 
as_fn_error "cannot compute sizeof (unsigned long long)
5617
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
5620
as_fn_error 77 "cannot compute sizeof (unsigned long long)
 
5621
See \`config.log' for more details" "$LINENO" 5 ; }
5618
5622
   else
5619
5623
     ac_cv_sizeof_unsigned_long_long=0
5620
5624
   fi
5807
5811
do :
5808
5812
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5809
5813
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5810
 
eval as_val=\$$as_ac_var
5811
 
   if test "x$as_val" = x""yes; then :
 
5814
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5812
5815
  cat >>confdefs.h <<_ACEOF
5813
5816
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5814
5817
_ACEOF
5861
5864
do :
5862
5865
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5863
5866
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5864
 
eval as_val=\$$as_ac_var
5865
 
   if test "x$as_val" = x""yes; then :
 
5867
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5866
5868
  cat >>confdefs.h <<_ACEOF
5867
5869
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5868
5870
_ACEOF
5902
5904
do :
5903
5905
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5904
5906
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5905
 
eval as_val=\$$as_ac_var
5906
 
   if test "x$as_val" = x""yes; then :
 
5907
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5907
5908
  cat >>confdefs.h <<_ACEOF
5908
5909
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5909
5910
_ACEOF
6081
6082
do :
6082
6083
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6083
6084
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6084
 
eval as_val=\$$as_ac_Header
6085
 
   if test "x$as_val" = x""yes; then :
 
6085
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6086
6086
  cat >>confdefs.h <<_ACEOF
6087
6087
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6088
6088
_ACEOF
6391
6391
 
6392
6392
 
6393
6393
 
 
6394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for e2fsattrs-support" >&5
 
6395
$as_echo_n "checking for e2fsattrs-support... " >&6; }
 
6396
 
 
6397
# Check whether --with-e2fsattrs was given.
 
6398
if test "${with_e2fsattrs+set}" = set; then :
 
6399
  withval=$with_e2fsattrs; with_e2fsattrs_support="$withval"
 
6400
else
 
6401
  with_e2fsattrs_support=no
 
6402
 
 
6403
fi
 
6404
 
 
6405
 
 
6406
if test "x$with_e2fsattrs_support" != xno; then :
 
6407
 
 
6408
$as_echo "#define WITH_E2FSATTRS 1" >>confdefs.h
 
6409
 
 
6410
        E2FSATTRSLIB=-le2p
 
6411
        compoptionstring="${compoptionstring}WITH_E2FSATTRS\\n"
 
6412
        aideextragroups="${aideextragroups}+e2fsattrs"
 
6413
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6414
$as_echo "yes" >&6; }
 
6415
else
 
6416
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6417
$as_echo "no" >&6; }
 
6418
 
 
6419
fi
 
6420
 
 
6421
 
6394
6422
 
6395
6423
# Check whether LFS has explicitly been disabled
6396
6424
# Check whether --enable-lfs was given.
6476
6504
  if test "$ac_cv_type_off_t" = yes; then
6477
6505
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6478
6506
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6479
 
{ as_fn_set_status 77
6480
 
as_fn_error "cannot compute sizeof (off_t)
6481
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
6507
as_fn_error 77 "cannot compute sizeof (off_t)
 
6508
See \`config.log' for more details" "$LINENO" 5 ; }
6482
6509
   else
6483
6510
     ac_cv_sizeof_off_t=0
6484
6511
   fi
6510
6537
  if test "$ac_cv_type_off64_t" = yes; then
6511
6538
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6512
6539
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6513
 
{ as_fn_set_status 77
6514
 
as_fn_error "cannot compute sizeof (off64_t)
6515
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
6540
as_fn_error 77 "cannot compute sizeof (off64_t)
 
6541
See \`config.log' for more details" "$LINENO" 5 ; }
6516
6542
   else
6517
6543
     ac_cv_sizeof_off64_t=0
6518
6544
   fi
6712
6738
_ACEOF
6713
6739
 
6714
6740
else
6715
 
  as_fn_error "You don't have zlib properly installed. Install it or try --without-zlib." "$LINENO" 5
 
6741
  as_fn_error $? "You don't have zlib properly installed. Install it or try --without-zlib." "$LINENO" 5
6716
6742
fi
6717
6743
 
6718
6744
done
6762
6788
  LIBS="-lz $LIBS"
6763
6789
 
6764
6790
else
6765
 
  as_fn_error "You don't have zlib properly installed. Install it or try --without-zlib." "$LINENO" 5
 
6791
  as_fn_error $? "You don't have zlib properly installed. Install it or try --without-zlib." "$LINENO" 5
6766
6792
 
6767
6793
fi
6768
6794
 
6817
6843
                CURL_CFLAGS=`$curlconfig --cflags`
6818
6844
                CURL_LIBS=`$curlconfig --libs`
6819
6845
        else
6820
 
                as_fn_error "You don't have curl properly installed. Install it or try --without-curl." "$LINENO" 5
 
6846
                as_fn_error $? "You don't have curl properly installed. Install it or try --without-curl." "$LINENO" 5
6821
6847
        fi
6822
6848
  for ac_header in curl/curl.h
6823
6849
do :
6828
6854
_ACEOF
6829
6855
 
6830
6856
else
6831
 
  as_fn_error "You don't have curl properly installed. Install it or try --without-curl." "$LINENO" 5
 
6857
  as_fn_error $? "You don't have curl properly installed. Install it or try --without-curl." "$LINENO" 5
6832
6858
fi
6833
6859
 
6834
6860
done
6874
6900
if test "x$ac_cv_lib_curl_curl_easy_init" = x""yes; then :
6875
6901
  havecurl=yes
6876
6902
else
6877
 
  as_fn_error "You don't have curl properly installed. Install it or try --without-curl." "$LINENO" 5
 
6903
  as_fn_error $? "You don't have curl properly installed. Install it or try --without-curl." "$LINENO" 5
6878
6904
 
6879
6905
fi
6880
6906
 
6881
6907
 
6882
6908
$as_echo "#define WITH_CURL 1" >>confdefs.h
6883
6909
 
6884
 
        compoptionstring="${compoptionstring}WITH_CURL\\n"],
 
6910
        compoptionstring="${compoptionstring}WITH_CURL\\n"
6885
6911
fi
6886
6912
 if test x$havecurl = xyes; then
6887
6913
  USE_CURL_TRUE=
6912
6938
do :
6913
6939
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6914
6940
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6915
 
eval as_val=\$$as_ac_var
6916
 
   if test "x$as_val" = x""yes; then :
 
6941
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6917
6942
  cat >>confdefs.h <<_ACEOF
6918
6943
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6919
6944
_ACEOF
6932
6957
do :
6933
6958
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6934
6959
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6935
 
eval as_val=\$$as_ac_var
6936
 
   if test "x$as_val" = x""yes; then :
 
6960
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6937
6961
  cat >>confdefs.h <<_ACEOF
6938
6962
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6939
6963
_ACEOF
6941
6965
else
6942
6966
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6943
6967
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6944
 
as_fn_error "--without-gnu-regexp was given, but system regex functions were not found
6945
 
See \`config.log' for more details." "$LINENO" 5; }
 
6968
as_fn_error $? "--without-gnu-regexp was given, but system regex functions were not found
 
6969
See \`config.log' for more details" "$LINENO" 5 ; }
6946
6970
 
6947
6971
fi
6948
6972
done
7052
7076
$as_echo "#define WITH_GCRYPT 1" >>confdefs.h
7053
7077
 
7054
7078
        if test "x$with_mhash" = xyes; then
7055
 
                as_fn_error "Using gcrypt together with mhash makes no sense. To disable mhash use --without-mhash" "$LINENO" 5
 
7079
                as_fn_error $? "Using gcrypt together with mhash makes no sense. To disable mhash use --without-mhash" "$LINENO" 5
7056
7080
        fi
7057
7081
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpg_strerror in -lgpg-error" >&5
7058
7082
$as_echo_n "checking for gpg_strerror in -lgpg-error... " >&6; }
7137
7161
  LIBS="-lgcrypt $LIBS"
7138
7162
 
7139
7163
else
7140
 
  as_fn_error "Aide requires mhash or libcrypt to be installed with static libraries." "$LINENO" 5
 
7164
  as_fn_error $? "Aide requires mhash or libcrypt to be installed with static libraries." "$LINENO" 5
7141
7165
 
7142
7166
fi
7143
7167
 
7144
7168
                LIBS="$saveLIBS"
7145
7169
else
7146
 
  as_fn_error "You need to have libgpg-error.a installed to use libgcrypt." "$LINENO" 5
 
7170
  as_fn_error $? "You need to have libgpg-error.a installed to use libgcrypt." "$LINENO" 5
7147
7171
 
7148
7172
fi
7149
7173
 
7707
7731
if test "x$ac_cv_header_libaudit_h" = x""yes; then :
7708
7732
 
7709
7733
else
7710
 
  as_fn_error "You don't have libaudit properly installed. Install it if you need it." "$LINENO" 5
 
7734
  as_fn_error $? "You don't have libaudit properly installed. Install it if you need it." "$LINENO" 5
7711
7735
 
7712
7736
fi
7713
7737
 
7831
7855
 
7832
7856
ac_libobjs=
7833
7857
ac_ltlibobjs=
 
7858
U=
7834
7859
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7835
7860
  # 1. Remove the extension, and $U if already installed.
7836
7861
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7854
7879
fi
7855
7880
 
7856
7881
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7857
 
  as_fn_error "conditional \"AMDEP\" was never defined.
 
7882
  as_fn_error $? "conditional \"AMDEP\" was never defined.
7858
7883
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7859
7884
fi
7860
7885
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7861
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
7886
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7862
7887
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7863
7888
fi
7864
7889
 
7865
7890
if test -z "${USE_CURL_TRUE}" && test -z "${USE_CURL_FALSE}"; then
7866
 
  as_fn_error "conditional \"USE_CURL\" was never defined.
 
7891
  as_fn_error $? "conditional \"USE_CURL\" was never defined.
7867
7892
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7868
7893
fi
7869
7894
 
8013
8038
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8014
8039
 
8015
8040
 
8016
 
# as_fn_error ERROR [LINENO LOG_FD]
8017
 
# ---------------------------------
 
8041
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
8042
# ----------------------------------------
8018
8043
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8019
8044
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8020
 
# script with status $?, using 1 if that was 0.
 
8045
# script with STATUS, using 1 if that was 0.
8021
8046
as_fn_error ()
8022
8047
{
8023
 
  as_status=$?; test $as_status -eq 0 && as_status=1
8024
 
  if test "$3"; then
8025
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8026
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
8048
  as_status=$1; test $as_status -eq 0 && as_status=1
 
8049
  if test "$4"; then
 
8050
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
8051
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8027
8052
  fi
8028
 
  $as_echo "$as_me: error: $1" >&2
 
8053
  $as_echo "$as_me: error: $2" >&2
8029
8054
  as_fn_exit $as_status
8030
8055
} # as_fn_error
8031
8056
 
8221
8246
      test -d "$as_dir" && break
8222
8247
    done
8223
8248
    test -z "$as_dirs" || eval "mkdir $as_dirs"
8224
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
8249
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8225
8250
 
8226
8251
 
8227
8252
} # as_fn_mkdir_p
8274
8299
# report actual input values of CONFIG_FILES etc. instead of their
8275
8300
# values after options handling.
8276
8301
ac_log="
8277
 
This file was extended by aide $as_me 0.14.2, which was
8278
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
8302
This file was extended by aide $as_me 0.15.1, which was
 
8303
generated by GNU Autoconf 2.67.  Invocation command line was
8279
8304
 
8280
8305
  CONFIG_FILES    = $CONFIG_FILES
8281
8306
  CONFIG_HEADERS  = $CONFIG_HEADERS
8344
8369
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8345
8370
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8346
8371
ac_cs_version="\\
8347
 
aide config.status 0.14.2
8348
 
configured by $0, generated by GNU Autoconf 2.65,
 
8372
aide config.status 0.15.1
 
8373
configured by $0, generated by GNU Autoconf 2.67,
8349
8374
  with options \\"\$ac_cs_config\\"
8350
8375
 
8351
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
8376
Copyright (C) 2010 Free Software Foundation, Inc.
8352
8377
This config.status script is free software; the Free Software Foundation
8353
8378
gives unlimited permission to copy, distribute and modify it."
8354
8379
 
8366
8391
while test $# != 0
8367
8392
do
8368
8393
  case $1 in
8369
 
  --*=*)
 
8394
  --*=?*)
8370
8395
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
8371
8396
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8372
8397
    ac_shift=:
8373
8398
    ;;
 
8399
  --*=)
 
8400
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
8401
    ac_optarg=
 
8402
    ac_shift=:
 
8403
    ;;
8374
8404
  *)
8375
8405
    ac_option=$1
8376
8406
    ac_optarg=$2
8392
8422
    $ac_shift
8393
8423
    case $ac_optarg in
8394
8424
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
8425
    '') as_fn_error $? "missing file argument" ;;
8395
8426
    esac
8396
8427
    as_fn_append CONFIG_FILES " '$ac_optarg'"
8397
8428
    ac_need_defaults=false;;
8404
8435
    ac_need_defaults=false;;
8405
8436
  --he | --h)
8406
8437
    # Conflict between --help and --header
8407
 
    as_fn_error "ambiguous option: \`$1'
 
8438
    as_fn_error $? "ambiguous option: \`$1'
8408
8439
Try \`$0 --help' for more information.";;
8409
8440
  --help | --hel | -h )
8410
8441
    $as_echo "$ac_cs_usage"; exit ;;
8413
8444
    ac_cs_silent=: ;;
8414
8445
 
8415
8446
  # This is an error.
8416
 
  -*) as_fn_error "unrecognized option: \`$1'
 
8447
  -*) as_fn_error $? "unrecognized option: \`$1'
8417
8448
Try \`$0 --help' for more information." ;;
8418
8449
 
8419
8450
  *) as_fn_append ac_config_targets " $1"
8479
8510
    "doc/aide.conf.5") CONFIG_FILES="$CONFIG_FILES doc/aide.conf.5" ;;
8480
8511
    "aide.spec") CONFIG_FILES="$CONFIG_FILES aide.spec" ;;
8481
8512
 
8482
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
8513
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
8483
8514
  esac
8484
8515
done
8485
8516
 
8518
8549
{
8519
8550
  tmp=./conf$$-$RANDOM
8520
8551
  (umask 077 && mkdir "$tmp")
8521
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
8552
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8522
8553
 
8523
8554
# Set up the scripts for CONFIG_FILES section.
8524
8555
# No need to generate them if there are no CONFIG_FILES.
8535
8566
fi
8536
8567
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8537
8568
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8538
 
  ac_cs_awk_cr='\r'
 
8569
  ac_cs_awk_cr='\\r'
8539
8570
else
8540
8571
  ac_cs_awk_cr=$ac_cr
8541
8572
fi
8549
8580
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8550
8581
  echo "_ACEOF"
8551
8582
} >conf$$subs.sh ||
8552
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
8553
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
8583
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
8584
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8554
8585
ac_delim='%!_!# '
8555
8586
for ac_last_try in false false false false false :; do
8556
8587
  . ./conf$$subs.sh ||
8557
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
8588
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8558
8589
 
8559
8590
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8560
8591
  if test $ac_delim_n = $ac_delim_num; then
8561
8592
    break
8562
8593
  elif $ac_last_try; then
8563
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
8594
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8564
8595
  else
8565
8596
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8566
8597
  fi
8649
8680
else
8650
8681
  cat
8651
8682
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8652
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
8683
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8653
8684
_ACEOF
8654
8685
 
8655
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8656
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
8686
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
8687
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8657
8688
# trailing colons and then remove the whole line if VPATH becomes empty
8658
8689
# (actually we leave an empty line to preserve line numbers).
8659
8690
if test "x$srcdir" = x.; then
8660
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
8661
 
s/:*\$(srcdir):*/:/
8662
 
s/:*\${srcdir}:*/:/
8663
 
s/:*@srcdir@:*/:/
8664
 
s/^\([^=]*=[     ]*\):*/\1/
 
8691
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
8692
h
 
8693
s///
 
8694
s/^/:/
 
8695
s/[      ]*$/:/
 
8696
s/:\$(srcdir):/:/g
 
8697
s/:\${srcdir}:/:/g
 
8698
s/:@srcdir@:/:/g
 
8699
s/^:*//
8665
8700
s/:*$//
 
8701
x
 
8702
s/\(=[   ]*\).*/\1/
 
8703
G
 
8704
s/\n//
8666
8705
s/^[^=]*=[       ]*$//
8667
8706
}'
8668
8707
fi
8690
8729
  if test -z "$ac_t"; then
8691
8730
    break
8692
8731
  elif $ac_last_try; then
8693
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
8732
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8694
8733
  else
8695
8734
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8696
8735
  fi
8775
8814
_ACAWK
8776
8815
_ACEOF
8777
8816
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8778
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
8817
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8779
8818
fi # test -n "$CONFIG_HEADERS"
8780
8819
 
8781
8820
 
8788
8827
  esac
8789
8828
  case $ac_mode$ac_tag in
8790
8829
  :[FHL]*:*);;
8791
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
8830
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
8792
8831
  :[FH]-) ac_tag=-:-;;
8793
8832
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8794
8833
  esac
8816
8855
           [\\/$]*) false;;
8817
8856
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8818
8857
           esac ||
8819
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
8858
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
8820
8859
      esac
8821
8860
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8822
8861
      as_fn_append ac_file_inputs " '$ac_f'"
8843
8882
 
8844
8883
    case $ac_tag in
8845
8884
    *:-:* | *:-) cat >"$tmp/stdin" \
8846
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
8885
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
8847
8886
    esac
8848
8887
    ;;
8849
8888
  esac
8980
9019
$ac_datarootdir_hack
8981
9020
"
8982
9021
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8983
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
9022
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8984
9023
 
8985
9024
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8986
9025
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8987
9026
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8988
9027
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8989
 
which seems to be undefined.  Please make sure it is defined." >&5
 
9028
which seems to be undefined.  Please make sure it is defined" >&5
8990
9029
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8991
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
9030
which seems to be undefined.  Please make sure it is defined" >&2;}
8992
9031
 
8993
9032
  rm -f "$tmp/stdin"
8994
9033
  case $ac_file in
8995
9034
  -) cat "$tmp/out" && rm -f "$tmp/out";;
8996
9035
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8997
9036
  esac \
8998
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
9037
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8999
9038
 ;;
9000
9039
  :H)
9001
9040
  #
9006
9045
      $as_echo "/* $configure_input  */" \
9007
9046
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9008
9047
    } >"$tmp/config.h" \
9009
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
9048
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9010
9049
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9011
9050
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9012
9051
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9013
9052
    else
9014
9053
      rm -f "$ac_file"
9015
9054
      mv "$tmp/config.h" "$ac_file" \
9016
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
9055
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9017
9056
    fi
9018
9057
  else
9019
9058
    $as_echo "/* $configure_input  */" \
9020
9059
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9021
 
      || as_fn_error "could not create -" "$LINENO" 5
 
9060
      || as_fn_error $? "could not create -" "$LINENO" 5
9022
9061
  fi
9023
9062
# Compute "$ac_file"'s index in $config_headers.
9024
9063
_am_arg="$ac_file"
9072
9111
$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
9073
9112
 
9074
9113
    if test ! -r "$ac_source"; then
9075
 
      as_fn_error "$ac_source: file not found" "$LINENO" 5
 
9114
      as_fn_error $? "$ac_source: file not found" "$LINENO" 5
9076
9115
    fi
9077
9116
    rm -f "$ac_file"
9078
9117
 
9079
9118
    # Try a relative symlink, then a hard link, then a copy.
9080
 
    case $srcdir in
 
9119
    case $ac_source in
9081
9120
    [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
9082
9121
        *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
9083
9122
    esac
9084
9123
    ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
9085
9124
      ln "$ac_source" "$ac_file" 2>/dev/null ||
9086
9125
      cp -p "$ac_source" "$ac_file" ||
9087
 
      as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
 
9126
      as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
9088
9127
  fi
9089
9128
 ;;
9090
9129
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9199
9238
ac_clean_files=$ac_clean_files_save
9200
9239
 
9201
9240
test $ac_write_fail = 0 ||
9202
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
9241
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9203
9242
 
9204
9243
 
9205
9244
# configure is writing to config.log, and then calls config.status.
9220
9259
  exec 5>>config.log
9221
9260
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9222
9261
  # would make configure fail if this is the last instruction.
9223
 
  $ac_cs_success || as_fn_exit $?
 
9262
  $ac_cs_success || as_fn_exit 1
9224
9263
fi
9225
9264
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9226
9265
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5