2272
2280
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2275
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2276
# We used to keeping the `.' as first argument, in order to
2277
# allow $(mkdir_p) to be used without argument. As in
2278
# $(mkdir_p) $(somedir)
2279
# where $(somedir) is conditionally defined. However this is wrong
2281
# 1. if the package is installed by a user who cannot write `.'
2282
# make install will fail,
2283
# 2. the above comment should most certainly read
2284
# $(mkdir_p) $(DESTDIR)$(somedir)
2285
# so it does not work when $(somedir) is undefined and
2286
# $(DESTDIR) is not.
2287
# To support the latter case, we have to write
2288
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2289
# so the `.' trick is pointless.
2290
mkdir_p='mkdir -p --'
2283
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2284
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2285
if test -z "$MKDIR_P"; then
2286
if test "${ac_cv_path_mkdir+set}" = set; then
2287
echo $ECHO_N "(cached) $ECHO_C" >&6
2292
# On NextStep and OpenStep, the `mkdir' command does not
2293
# recognize any option. It will interpret all options as
2294
# directories to create, and then abort because `.' already
2296
for d in ./-p ./--version;
2298
test -d $d && rmdir $d
2300
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2301
if test -f "$ac_aux_dir/mkinstalldirs"; then
2302
mkdir_p='$(mkinstalldirs)'
2289
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2293
test -z "$as_dir" && as_dir=.
2294
for ac_prog in mkdir gmkdir; do
2295
for ac_exec_ext in '' $ac_executable_extensions; do
2296
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2297
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2298
'mkdir (GNU coreutils) '* | \
2299
'mkdir (coreutils) '* | \
2300
'mkdir (fileutils) '4.1*)
2301
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2311
if test "${ac_cv_path_mkdir+set}" = set; then
2312
MKDIR_P="$ac_cv_path_mkdir -p"
2304
mkdir_p='$(install_sh) -d'
2314
# As a last resort, use the slow shell script. Don't cache a
2315
# value for MKDIR_P within a source directory, because that will
2316
# break other packages using the cache if that directory is
2317
# removed, or if the value is a relative name.
2318
test -d ./--version && rmdir ./--version
2319
MKDIR_P="$ac_install_sh -d"
2322
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2323
echo "${ECHO_T}$MKDIR_P" >&6; }
2327
[\\/$]* | ?:[\\/]*) ;;
2328
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2308
2331
for ac_prog in gawk mawk nawk awk
3835
3872
# Check whether --with-tcp-wrappers was given.
3836
3873
if test "${with_tcp_wrappers+set}" = set; then
3837
withval=$with_tcp_wrappers;
3838
if test "x$withval" != "xno" ; then
3874
withval=$with_tcp_wrappers; with_tcpw=$withval
3879
if test "x$with_tcpw" != "xno" ; then
3839
3880
saved_LIBS="$LIBS"
3840
3881
saved_LDFLAGS="$LDFLAGS"
3841
3882
saved_CPPFLAGS="$CPPFLAGS"
3842
if test -n "${withval}" -a "${withval}" != "yes"; then
3843
if test -d "${withval}/lib"; then
3883
if test -n "${with_tcpw}" -a "${with_tcpw}" != "yes"; then
3884
if test -d "${with_tcpw}/lib"; then
3844
3885
if test -n "${need_dash_r}"; then
3845
LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}"
3886
LDFLAGS="-L${with_tcpw}/lib -R${with_tcpw}/lib ${LDFLAGS}"
3847
LDFLAGS="-L${withval}/lib ${LDFLAGS}"
3888
LDFLAGS="-L${with_tcpw}/lib ${LDFLAGS}"
3850
3891
if test -n "${need_dash_r}"; then
3851
LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}"
3892
LDFLAGS="-L${with_tcpw} -R${with_tcpw} ${LDFLAGS}"
3853
LDFLAGS="-L${withval} ${LDFLAGS}"
3894
LDFLAGS="-L${with_tcpw} ${LDFLAGS}"
3856
if test -d "${withval}/include"; then
3857
CPPFLAGS="-I${withval}/include ${CPPFLAGS}"
3897
if test -d "${with_tcpw}/include"; then
3898
CPPFLAGS="-I${with_tcpw}/include ${CPPFLAGS}"
3859
CPPFLAGS="-I${withval} ${CPPFLAGS}"
3900
CPPFLAGS="-I${with_tcpw} ${CPPFLAGS}"
3862
3903
LIBWRAP="-lwrap"
22121
{ echo "$as_me:$LINENO: checking for blkid_get_cache in -lblkid" >&5
22122
echo $ECHO_N "checking for blkid_get_cache in -lblkid... $ECHO_C" >&6; }
22123
if test "${ac_cv_lib_blkid_blkid_get_cache+set}" = set; then
22124
echo $ECHO_N "(cached) $ECHO_C" >&6
22126
ac_check_lib_save_LIBS=$LIBS
22127
LIBS="-lblkid $LIBS"
22128
cat >conftest.$ac_ext <<_ACEOF
22131
cat confdefs.h >>conftest.$ac_ext
22132
cat >>conftest.$ac_ext <<_ACEOF
22133
/* end confdefs.h. */
22135
/* Override any GCC internal prototype to avoid an error.
22136
Use char because int might match the return type of a GCC
22137
builtin and then its argument prototype would still apply. */
22141
char blkid_get_cache ();
22145
return blkid_get_cache ();
22150
rm -f conftest.$ac_objext conftest$ac_exeext
22151
if { (ac_try="$ac_link"
22152
case "(($ac_try" in
22153
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22154
*) ac_try_echo=$ac_try;;
22156
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22157
(eval "$ac_link") 2>conftest.er1
22159
grep -v '^ *+' conftest.er1 >conftest.err
22161
cat conftest.err >&5
22162
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163
(exit $ac_status); } && {
22164
test -z "$ac_c_werror_flag" ||
22165
test ! -s conftest.err
22166
} && test -s conftest$ac_exeext &&
22167
$as_test_x conftest$ac_exeext; then
22168
ac_cv_lib_blkid_blkid_get_cache=yes
22170
echo "$as_me: failed program was:" >&5
22171
sed 's/^/| /' conftest.$ac_ext >&5
22173
ac_cv_lib_blkid_blkid_get_cache=no
22176
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22177
conftest$ac_exeext conftest.$ac_ext
22178
LIBS=$ac_check_lib_save_LIBS
22180
{ echo "$as_me:$LINENO: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
22181
echo "${ECHO_T}$ac_cv_lib_blkid_blkid_get_cache" >&6; }
22182
if test $ac_cv_lib_blkid_blkid_get_cache = yes; then
22185
{ { echo "$as_me:$LINENO: error: libblkid needed" >&5
22186
echo "$as_me: error: libblkid needed" >&2;}
22187
{ (exit 1); exit 1; }; }
22190
if test "${ac_cv_header_blkid_blkid_h+set}" = set; then
22191
{ echo "$as_me:$LINENO: checking for blkid/blkid.h" >&5
22192
echo $ECHO_N "checking for blkid/blkid.h... $ECHO_C" >&6; }
22193
if test "${ac_cv_header_blkid_blkid_h+set}" = set; then
22194
echo $ECHO_N "(cached) $ECHO_C" >&6
22196
{ echo "$as_me:$LINENO: result: $ac_cv_header_blkid_blkid_h" >&5
22197
echo "${ECHO_T}$ac_cv_header_blkid_blkid_h" >&6; }
22199
# Is the header compilable?
22200
{ echo "$as_me:$LINENO: checking blkid/blkid.h usability" >&5
22201
echo $ECHO_N "checking blkid/blkid.h usability... $ECHO_C" >&6; }
22202
cat >conftest.$ac_ext <<_ACEOF
22205
cat confdefs.h >>conftest.$ac_ext
22206
cat >>conftest.$ac_ext <<_ACEOF
22207
/* end confdefs.h. */
22208
$ac_includes_default
22209
#include <blkid/blkid.h>
22211
rm -f conftest.$ac_objext
22212
if { (ac_try="$ac_compile"
22213
case "(($ac_try" in
22214
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22215
*) ac_try_echo=$ac_try;;
22217
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22218
(eval "$ac_compile") 2>conftest.er1
22220
grep -v '^ *+' conftest.er1 >conftest.err
22222
cat conftest.err >&5
22223
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224
(exit $ac_status); } && {
22225
test -z "$ac_c_werror_flag" ||
22226
test ! -s conftest.err
22227
} && test -s conftest.$ac_objext; then
22228
ac_header_compiler=yes
22230
echo "$as_me: failed program was:" >&5
22231
sed 's/^/| /' conftest.$ac_ext >&5
22233
ac_header_compiler=no
22236
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22237
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22238
echo "${ECHO_T}$ac_header_compiler" >&6; }
22240
# Is the header present?
22241
{ echo "$as_me:$LINENO: checking blkid/blkid.h presence" >&5
22242
echo $ECHO_N "checking blkid/blkid.h presence... $ECHO_C" >&6; }
22243
cat >conftest.$ac_ext <<_ACEOF
22246
cat confdefs.h >>conftest.$ac_ext
22247
cat >>conftest.$ac_ext <<_ACEOF
22248
/* end confdefs.h. */
22249
#include <blkid/blkid.h>
22251
if { (ac_try="$ac_cpp conftest.$ac_ext"
22252
case "(($ac_try" in
22253
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22254
*) ac_try_echo=$ac_try;;
22256
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22257
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22259
grep -v '^ *+' conftest.er1 >conftest.err
22261
cat conftest.err >&5
22262
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263
(exit $ac_status); } >/dev/null && {
22264
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22265
test ! -s conftest.err
22267
ac_header_preproc=yes
22269
echo "$as_me: failed program was:" >&5
22270
sed 's/^/| /' conftest.$ac_ext >&5
22272
ac_header_preproc=no
22275
rm -f conftest.err conftest.$ac_ext
22276
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22277
echo "${ECHO_T}$ac_header_preproc" >&6; }
22279
# So? What about this header?
22280
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22282
{ echo "$as_me:$LINENO: WARNING: blkid/blkid.h: accepted by the compiler, rejected by the preprocessor!" >&5
22283
echo "$as_me: WARNING: blkid/blkid.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22284
{ echo "$as_me:$LINENO: WARNING: blkid/blkid.h: proceeding with the compiler's result" >&5
22285
echo "$as_me: WARNING: blkid/blkid.h: proceeding with the compiler's result" >&2;}
22286
ac_header_preproc=yes
22289
{ echo "$as_me:$LINENO: WARNING: blkid/blkid.h: present but cannot be compiled" >&5
22290
echo "$as_me: WARNING: blkid/blkid.h: present but cannot be compiled" >&2;}
22291
{ echo "$as_me:$LINENO: WARNING: blkid/blkid.h: check for missing prerequisite headers?" >&5
22292
echo "$as_me: WARNING: blkid/blkid.h: check for missing prerequisite headers?" >&2;}
22293
{ echo "$as_me:$LINENO: WARNING: blkid/blkid.h: see the Autoconf documentation" >&5
22294
echo "$as_me: WARNING: blkid/blkid.h: see the Autoconf documentation" >&2;}
22295
{ echo "$as_me:$LINENO: WARNING: blkid/blkid.h: section \"Present But Cannot Be Compiled\"" >&5
22296
echo "$as_me: WARNING: blkid/blkid.h: section \"Present But Cannot Be Compiled\"" >&2;}
22297
{ echo "$as_me:$LINENO: WARNING: blkid/blkid.h: proceeding with the preprocessor's result" >&5
22298
echo "$as_me: WARNING: blkid/blkid.h: proceeding with the preprocessor's result" >&2;}
22299
{ echo "$as_me:$LINENO: WARNING: blkid/blkid.h: in the future, the compiler will take precedence" >&5
22300
echo "$as_me: WARNING: blkid/blkid.h: in the future, the compiler will take precedence" >&2;}
22302
## ------------------------------- ##
22303
## Report this to nfs@lists.sf.net ##
22304
## ------------------------------- ##
22306
) | sed "s/^/$as_me: WARNING: /" >&2
22309
{ echo "$as_me:$LINENO: checking for blkid/blkid.h" >&5
22310
echo $ECHO_N "checking for blkid/blkid.h... $ECHO_C" >&6; }
22311
if test "${ac_cv_header_blkid_blkid_h+set}" = set; then
22312
echo $ECHO_N "(cached) $ECHO_C" >&6
22314
ac_cv_header_blkid_blkid_h=$ac_header_preproc
22316
{ echo "$as_me:$LINENO: result: $ac_cv_header_blkid_blkid_h" >&5
22317
echo "${ECHO_T}$ac_cv_header_blkid_blkid_h" >&6; }
22320
if test $ac_cv_header_blkid_blkid_h = yes; then
22323
{ { echo "$as_me:$LINENO: error: Cannot file libblkid header file blkid/blkid.h" >&5
22324
echo "$as_me: error: Cannot file libblkid header file blkid/blkid.h" >&2;}
22325
{ (exit 1); exit 1; }; }
29543
29802
EXEEXT!$EXEEXT$ac_delim
29544
29803
OBJEXT!$OBJEXT$ac_delim
29545
29804
DEPDIR!$DEPDIR$ac_delim
29807
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
29809
elif $ac_last_try; then
29810
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29811
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29812
{ (exit 1); exit 1; }; }
29814
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29818
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29819
if test -n "$ac_eof"; then
29820
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29821
ac_eof=`expr $ac_eof + 1`
29824
cat >>$CONFIG_STATUS <<_ACEOF
29825
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
29826
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29829
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29830
s/^/s,@/; s/!/@,|#_!!_#|/
29833
s/'"$ac_delim"'$/,g/; t
29835
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29836
' >>$CONFIG_STATUS <conf$$subs.sed
29837
rm -f conf$$subs.sed
29838
cat >>$CONFIG_STATUS <<_ACEOF
29844
for ac_last_try in false false false false false :; do
29845
cat >conf$$subs.sed <<_ACEOF
29546
29846
am__include!$am__include$ac_delim
29547
29847
am__quote!$am__quote$ac_delim
29548
29848
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
29549
29849
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
29552
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
29554
elif $ac_last_try; then
29555
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29556
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29557
{ (exit 1); exit 1; }; }
29559
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29563
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29564
if test -n "$ac_eof"; then
29565
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29566
ac_eof=`expr $ac_eof + 1`
29569
cat >>$CONFIG_STATUS <<_ACEOF
29570
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
29571
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29574
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29575
s/^/s,@/; s/!/@,|#_!!_#|/
29578
s/'"$ac_delim"'$/,g/; t
29580
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29581
' >>$CONFIG_STATUS <conf$$subs.sed
29582
rm -f conf$$subs.sed
29583
cat >>$CONFIG_STATUS <<_ACEOF
29589
for ac_last_try in false false false false false :; do
29590
cat >conf$$subs.sed <<_ACEOF
29591
29850
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
29592
29851
CCDEPMODE!$CCDEPMODE$ac_delim
29593
29852
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim