~ubuntu-branches/ubuntu/feisty/devmapper/feisty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-06-30 10:28:27 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060630102827-tlbyu1wpfg15yrw6
Tags: 2:1.02.07-1ubuntu1
Merge from debian unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
310
310
#endif"
311
311
 
312
312
ac_default_prefix=/usr
313
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os AWK CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB LIBOBJS MSGFMT usrlibdir JOBS STATIC_LINK OWNER GROUP interface kerneldir missingkernel kernelvsn tmpdir LVM_DEFS COPTIMISE_FLAG CLDFLAGS LDDEPS LIB_SUFFIX DEBUG DM_LIB_VERSION COMPAT DMIOCTLS LOCALEDIR INTL_PACKAGE INTL DEVICE_UID DEVICE_GID DEVICE_MODE DMEVENTD PKGCONFIG LTLIBOBJS'
 
313
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os AWK CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB LIBOBJS MSGFMT usrlibdir JOBS STATIC_LINK OWNER GROUP interface kerneldir missingkernel kernelvsn tmpdir COPTIMISE_FLAG CLDFLAGS LDDEPS LIB_SUFFIX DEBUG DM_LIB_VERSION COMPAT DMIOCTLS LOCALEDIR INTL_PACKAGE INTL DEVICE_UID DEVICE_GID DEVICE_MODE DMEVENTD PKGCONFIG LTLIBOBJS'
314
314
ac_subst_files=''
315
315
 
316
316
# Initialize some variables set by options.
1321
1321
 
1322
1322
 
1323
1323
################################################################################
 
1324
          ac_config_headers="$ac_config_headers include/configure.h"
 
1325
 
 
1326
 
 
1327
################################################################################
1324
1328
ac_aux_dir=
1325
1329
for ac_dir in autoconf $srcdir/autoconf; do
1326
1330
  if test -f $ac_dir/install-sh; then
5364
5368
 then  exec_prefix="";
5365
5369
fi;
5366
5370
 
 
5371
 
 
5372
################################################################################
 
5373
 
 
5374
echo "$as_me:$LINENO: checking for getline in -lc" >&5
 
5375
echo $ECHO_N "checking for getline in -lc... $ECHO_C" >&6
 
5376
if test "${ac_cv_lib_c_getline+set}" = set; then
 
5377
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5378
else
 
5379
  ac_check_lib_save_LIBS=$LIBS
 
5380
LIBS="-lc  $LIBS"
 
5381
cat >conftest.$ac_ext <<_ACEOF
 
5382
/* confdefs.h.  */
 
5383
_ACEOF
 
5384
cat confdefs.h >>conftest.$ac_ext
 
5385
cat >>conftest.$ac_ext <<_ACEOF
 
5386
/* end confdefs.h.  */
 
5387
 
 
5388
/* Override any gcc2 internal prototype to avoid an error.  */
 
5389
#ifdef __cplusplus
 
5390
extern "C"
 
5391
#endif
 
5392
/* We use char because int might match the return type of a gcc2
 
5393
   builtin and then its argument prototype would still apply.  */
 
5394
char getline ();
 
5395
int
 
5396
main ()
 
5397
{
 
5398
getline ();
 
5399
  ;
 
5400
  return 0;
 
5401
}
 
5402
_ACEOF
 
5403
rm -f conftest.$ac_objext conftest$ac_exeext
 
5404
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5405
  (eval $ac_link) 2>conftest.er1
 
5406
  ac_status=$?
 
5407
  grep -v '^ *+' conftest.er1 >conftest.err
 
5408
  rm -f conftest.er1
 
5409
  cat conftest.err >&5
 
5410
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5411
  (exit $ac_status); } &&
 
5412
         { ac_try='test -z "$ac_c_werror_flag"
 
5413
                         || test ! -s conftest.err'
 
5414
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5415
  (eval $ac_try) 2>&5
 
5416
  ac_status=$?
 
5417
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5418
  (exit $ac_status); }; } &&
 
5419
         { ac_try='test -s conftest$ac_exeext'
 
5420
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5421
  (eval $ac_try) 2>&5
 
5422
  ac_status=$?
 
5423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5424
  (exit $ac_status); }; }; then
 
5425
  ac_cv_lib_c_getline=yes
 
5426
else
 
5427
  echo "$as_me: failed program was:" >&5
 
5428
sed 's/^/| /' conftest.$ac_ext >&5
 
5429
 
 
5430
ac_cv_lib_c_getline=no
 
5431
fi
 
5432
rm -f conftest.err conftest.$ac_objext \
 
5433
      conftest$ac_exeext conftest.$ac_ext
 
5434
LIBS=$ac_check_lib_save_LIBS
 
5435
fi
 
5436
echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
 
5437
echo "${ECHO_T}$ac_cv_lib_c_getline" >&6
 
5438
if test $ac_cv_lib_c_getline = yes; then
 
5439
 
 
5440
cat >>confdefs.h <<\_ACEOF
 
5441
#define HAVE_GETLINE 1
 
5442
_ACEOF
 
5443
 
 
5444
fi
 
5445
 
 
5446
 
5367
5447
################################################################################
5368
5448
echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
5369
5449
echo $ECHO_N "checking whether to enable selinux support... $ECHO_C" >&6
5377
5457
 
5378
5458
################################################################################
5379
5459
if test x$SELINUX = xyes; then
5380
 
        echo "$as_me:$LINENO: checking for sepol_check_context function" >&5
5381
 
echo $ECHO_N "checking for sepol_check_context function... $ECHO_C" >&6
5382
5460
        echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
5383
5461
echo $ECHO_N "checking for sepol_check_context in -lsepol... $ECHO_C" >&6
5384
5462
if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
5449
5527
  HAVE_SEPOL=no
5450
5528
fi
5451
5529
 
5452
 
        echo "$as_me:$LINENO: result: $HAVE_SEPOL" >&5
5453
 
echo "${ECHO_T}$HAVE_SEPOL" >&6
5454
5530
 
5455
5531
        if test x$HAVE_SEPOL = xyes; then
 
5532
 
 
5533
cat >>confdefs.h <<\_ACEOF
 
5534
#define HAVE_SEPOL 1
 
5535
_ACEOF
 
5536
 
5456
5537
                LIBS="-lsepol $LIBS"
5457
5538
        fi
5458
5539
 
5459
 
        echo "$as_me:$LINENO: checking for is_selinux_enabled function" >&5
5460
 
echo $ECHO_N "checking for is_selinux_enabled function... $ECHO_C" >&6
5461
5540
        echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
5462
5541
echo $ECHO_N "checking for is_selinux_enabled in -lselinux... $ECHO_C" >&6
5463
5542
if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
5528
5607
  HAVE_SELINUX=no
5529
5608
fi
5530
5609
 
5531
 
        echo "$as_me:$LINENO: result: $HAVE_SELINUX" >&5
5532
 
echo "${ECHO_T}$HAVE_SELINUX" >&6
5533
5610
 
5534
5611
        if test x$HAVE_SELINUX = xyes; then
5535
 
                LVM_DEFS="$LVM_DEFS -DHAVE_SELINUX"
 
5612
 
 
5613
cat >>confdefs.h <<\_ACEOF
 
5614
#define HAVE_SELINUX 1
 
5615
_ACEOF
 
5616
 
5536
5617
                LIBS="-lselinux $LIBS"
5537
5618
        else
5538
5619
                { echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
5686
5767
  cat >>confdefs.h <<_ACEOF
5687
5768
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5688
5769
_ACEOF
5689
 
 LVM_DEFS="$LVM_DEFS -DHAVE_GETOPTLONG"
 
5770
 
 
5771
cat >>confdefs.h <<\_ACEOF
 
5772
#define HAVE_GETOPTLONG 1
 
5773
_ACEOF
 
5774
 
5690
5775
fi
5691
5776
 
5692
5777
done
5906
5991
 
5907
5992
 
5908
5993
 
5909
 
 
5910
5994
################################################################################
5911
5995
                                                                                                                        ac_config_files="$ac_config_files Makefile make.tmpl include/Makefile dmsetup/Makefile lib/Makefile lib/libdevmapper.pc lib/libdm-common.h dmeventd/Makefile dmeventd/libdevmapper-event.pc kernel/Makefile man/Makefile po/Makefile"
5912
5996
cat >confcache <<\_ACEOF
5983
6067
}'
5984
6068
fi
5985
6069
 
5986
 
# Transform confdefs.h into DEFS.
5987
 
# Protect against shell expansion while executing Makefile rules.
5988
 
# Protect against Makefile macro expansion.
5989
 
#
5990
 
# If the first sed substitution is executed (which looks for macros that
5991
 
# take arguments), then we branch to the quote section.  Otherwise,
5992
 
# look for a macro that doesn't take arguments.
5993
 
cat >confdef2opt.sed <<\_ACEOF
5994
 
t clear
5995
 
: clear
5996
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
5997
 
t quote
5998
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
5999
 
t quote
6000
 
d
6001
 
: quote
6002
 
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
6003
 
s,\[,\\&,g
6004
 
s,\],\\&,g
6005
 
s,\$,$$,g
6006
 
p
6007
 
_ACEOF
6008
 
# We use echo to avoid assuming a particular line-breaking character.
6009
 
# The extra dot is to prevent the shell from consuming trailing
6010
 
# line-breaks from the sub-command output.  A line-break within
6011
 
# single-quotes doesn't work because, if this script is created in a
6012
 
# platform that uses two characters for line-breaks (e.g., DOS), tr
6013
 
# would break.
6014
 
ac_LF_and_DOT=`echo; echo .`
6015
 
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
6016
 
rm -f confdef2opt.sed
6017
 
 
 
6070
DEFS=-DHAVE_CONFIG_H
6018
6071
 
6019
6072
ac_libobjs=
6020
6073
ac_ltlibobjs=
6348
6401
      --recheck    update $as_me by reconfiguring in the same conditions
6349
6402
  --file=FILE[:TEMPLATE]
6350
6403
                   instantiate the configuration file FILE
 
6404
  --header=FILE[:TEMPLATE]
 
6405
                   instantiate the configuration header FILE
6351
6406
 
6352
6407
Configuration files:
6353
6408
$config_files
6354
6409
 
 
6410
Configuration headers:
 
6411
$config_headers
 
6412
 
6355
6413
Report bugs to <bug-autoconf@gnu.org>."
6356
6414
_ACEOF
6357
6415
 
6472
6530
  "kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES kernel/Makefile" ;;
6473
6531
  "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
6474
6532
  "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
 
6533
  "include/configure.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/configure.h" ;;
6475
6534
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6476
6535
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6477
6536
   { (exit 1); exit 1; }; };;
6484
6543
# bizarre bug on SunOS 4.1.3.
6485
6544
if $ac_need_defaults; then
6486
6545
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
6546
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6487
6547
fi
6488
6548
 
6489
6549
# Have a temporary directory for convenience.  Make it in the build tree
6596
6656
s,@missingkernel@,$missingkernel,;t t
6597
6657
s,@kernelvsn@,$kernelvsn,;t t
6598
6658
s,@tmpdir@,$tmpdir,;t t
6599
 
s,@LVM_DEFS@,$LVM_DEFS,;t t
6600
6659
s,@COPTIMISE_FLAG@,$COPTIMISE_FLAG,;t t
6601
6660
s,@CLDFLAGS@,$CLDFLAGS,;t t
6602
6661
s,@LDDEPS@,$LDDEPS,;t t
6853
6912
 
6854
6913
done
6855
6914
_ACEOF
 
6915
cat >>$CONFIG_STATUS <<\_ACEOF
 
6916
 
 
6917
#
 
6918
# CONFIG_HEADER section.
 
6919
#
 
6920
 
 
6921
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
 
6922
# NAME is the cpp macro being defined and VALUE is the value it is being given.
 
6923
#
 
6924
# ac_d sets the value in "#define NAME VALUE" lines.
 
6925
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
6926
ac_dB='[         ].*$,\1#\2'
 
6927
ac_dC=' '
 
6928
ac_dD=',;t'
 
6929
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
 
6930
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
6931
ac_uB='$,\1#\2define\3'
 
6932
ac_uC=' '
 
6933
ac_uD=',;t'
 
6934
 
 
6935
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
 
6936
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
6937
  case $ac_file in
 
6938
  - | *:- | *:-:* ) # input from stdin
 
6939
        cat >$tmp/stdin
 
6940
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
6941
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6942
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
6943
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6944
  * )   ac_file_in=$ac_file.in ;;
 
6945
  esac
 
6946
 
 
6947
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
 
6948
echo "$as_me: creating $ac_file" >&6;}
 
6949
 
 
6950
  # First look for the input files in the build tree, otherwise in the
 
6951
  # src tree.
 
6952
  ac_file_inputs=`IFS=:
 
6953
    for f in $ac_file_in; do
 
6954
      case $f in
 
6955
      -) echo $tmp/stdin ;;
 
6956
      [\\/$]*)
 
6957
         # Absolute (can't be DOS-style, as IFS=:)
 
6958
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6959
echo "$as_me: error: cannot find input file: $f" >&2;}
 
6960
   { (exit 1); exit 1; }; }
 
6961
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
6962
         echo "$f";;
 
6963
      *) # Relative
 
6964
         if test -f "$f"; then
 
6965
           # Build tree
 
6966
           echo "$f"
 
6967
         elif test -f "$srcdir/$f"; then
 
6968
           # Source tree
 
6969
           echo "$srcdir/$f"
 
6970
         else
 
6971
           # /dev/null tree
 
6972
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6973
echo "$as_me: error: cannot find input file: $f" >&2;}
 
6974
   { (exit 1); exit 1; }; }
 
6975
         fi;;
 
6976
      esac
 
6977
    done` || { (exit 1); exit 1; }
 
6978
  # Remove the trailing spaces.
 
6979
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
 
6980
 
 
6981
_ACEOF
 
6982
 
 
6983
# Transform confdefs.h into two sed scripts, `conftest.defines' and
 
6984
# `conftest.undefs', that substitutes the proper values into
 
6985
# config.h.in to produce config.h.  The first handles `#define'
 
6986
# templates, and the second `#undef' templates.
 
6987
# And first: Protect against being on the right side of a sed subst in
 
6988
# config.status.  Protect against being in an unquoted here document
 
6989
# in config.status.
 
6990
rm -f conftest.defines conftest.undefs
 
6991
# Using a here document instead of a string reduces the quoting nightmare.
 
6992
# Putting comments in sed scripts is not portable.
 
6993
#
 
6994
# `end' is used to avoid that the second main sed command (meant for
 
6995
# 0-ary CPP macros) applies to n-ary macro definitions.
 
6996
# See the Autoconf documentation for `clear'.
 
6997
cat >confdef2sed.sed <<\_ACEOF
 
6998
s/[\\&,]/\\&/g
 
6999
s,[\\$`],\\&,g
 
7000
t clear
 
7001
: clear
 
7002
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
7003
t end
 
7004
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
7005
: end
 
7006
_ACEOF
 
7007
# If some macros were called several times there might be several times
 
7008
# the same #defines, which is useless.  Nevertheless, we may not want to
 
7009
# sort them, since we want the *last* AC-DEFINE to be honored.
 
7010
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
 
7011
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
 
7012
rm -f confdef2sed.sed
 
7013
 
 
7014
# This sed command replaces #undef with comments.  This is necessary, for
 
7015
# example, in the case of _POSIX_SOURCE, which is predefined and required
 
7016
# on some systems where configure will not decide to define it.
 
7017
cat >>conftest.undefs <<\_ACEOF
 
7018
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
7019
_ACEOF
 
7020
 
 
7021
# Break up conftest.defines because some shells have a limit on the size
 
7022
# of here documents, and old seds have small limits too (100 cmds).
 
7023
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
 
7024
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
7025
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
 
7026
echo '  :' >>$CONFIG_STATUS
 
7027
rm -f conftest.tail
 
7028
while grep . conftest.defines >/dev/null
 
7029
do
 
7030
  # Write a limited-size here document to $tmp/defines.sed.
 
7031
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
 
7032
  # Speed up: don't consider the non `#define' lines.
 
7033
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
7034
  # Work around the forget-to-reset-the-flag bug.
 
7035
  echo 't clr' >>$CONFIG_STATUS
 
7036
  echo ': clr' >>$CONFIG_STATUS
 
7037
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
7038
  echo 'CEOF
 
7039
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
 
7040
  rm -f $tmp/in
 
7041
  mv $tmp/out $tmp/in
 
7042
' >>$CONFIG_STATUS
 
7043
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
7044
  rm -f conftest.defines
 
7045
  mv conftest.tail conftest.defines
 
7046
done
 
7047
rm -f conftest.defines
 
7048
echo '  fi # grep' >>$CONFIG_STATUS
 
7049
echo >>$CONFIG_STATUS
 
7050
 
 
7051
# Break up conftest.undefs because some shells have a limit on the size
 
7052
# of here documents, and old seds have small limits too (100 cmds).
 
7053
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
 
7054
rm -f conftest.tail
 
7055
while grep . conftest.undefs >/dev/null
 
7056
do
 
7057
  # Write a limited-size here document to $tmp/undefs.sed.
 
7058
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
 
7059
  # Speed up: don't consider the non `#undef'
 
7060
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
7061
  # Work around the forget-to-reset-the-flag bug.
 
7062
  echo 't clr' >>$CONFIG_STATUS
 
7063
  echo ': clr' >>$CONFIG_STATUS
 
7064
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
 
7065
  echo 'CEOF
 
7066
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
 
7067
  rm -f $tmp/in
 
7068
  mv $tmp/out $tmp/in
 
7069
' >>$CONFIG_STATUS
 
7070
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
 
7071
  rm -f conftest.undefs
 
7072
  mv conftest.tail conftest.undefs
 
7073
done
 
7074
rm -f conftest.undefs
 
7075
 
 
7076
cat >>$CONFIG_STATUS <<\_ACEOF
 
7077
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
7078
  # use $as_me), people would be surprised to read:
 
7079
  #    /* config.h.  Generated by config.status.  */
 
7080
  if test x"$ac_file" = x-; then
 
7081
    echo "/* Generated by configure.  */" >$tmp/config.h
 
7082
  else
 
7083
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
 
7084
  fi
 
7085
  cat $tmp/in >>$tmp/config.h
 
7086
  rm -f $tmp/in
 
7087
  if test x"$ac_file" != x-; then
 
7088
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
7089
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
7090
echo "$as_me: $ac_file is unchanged" >&6;}
 
7091
    else
 
7092
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
7093
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
7094
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
7095
         X"$ac_file" : 'X\(//\)$' \| \
 
7096
         X"$ac_file" : 'X\(/\)' \| \
 
7097
         .     : '\(.\)' 2>/dev/null ||
 
7098
echo X"$ac_file" |
 
7099
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
7100
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
7101
          /^X\(\/\/\)$/{ s//\1/; q; }
 
7102
          /^X\(\/\).*/{ s//\1/; q; }
 
7103
          s/.*/./; q'`
 
7104
      { if $as_mkdir_p; then
 
7105
    mkdir -p "$ac_dir"
 
7106
  else
 
7107
    as_dir="$ac_dir"
 
7108
    as_dirs=
 
7109
    while test ! -d "$as_dir"; do
 
7110
      as_dirs="$as_dir $as_dirs"
 
7111
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
7112
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
7113
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
7114
         X"$as_dir" : 'X\(//\)$' \| \
 
7115
         X"$as_dir" : 'X\(/\)' \| \
 
7116
         .     : '\(.\)' 2>/dev/null ||
 
7117
echo X"$as_dir" |
 
7118
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
7119
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
7120
          /^X\(\/\/\)$/{ s//\1/; q; }
 
7121
          /^X\(\/\).*/{ s//\1/; q; }
 
7122
          s/.*/./; q'`
 
7123
    done
 
7124
    test ! -n "$as_dirs" || mkdir $as_dirs
 
7125
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
7126
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
7127
   { (exit 1); exit 1; }; }; }
 
7128
 
 
7129
      rm -f $ac_file
 
7130
      mv $tmp/config.h $ac_file
 
7131
    fi
 
7132
  else
 
7133
    cat $tmp/config.h
 
7134
    rm -f $tmp/config.h
 
7135
  fi
 
7136
done
 
7137
_ACEOF
6856
7138
 
6857
7139
cat >>$CONFIG_STATUS <<\_ACEOF
6858
7140