summaryrefslogtreecommitdiff
path: root/devel/bmake/files/configure
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bmake/files/configure')
-rwxr-xr-xdevel/bmake/files/configure78
1 files changed, 69 insertions, 9 deletions
diff --git a/devel/bmake/files/configure b/devel/bmake/files/configure
index ebf085d5920..9a0d5fe4206 100755
--- a/devel/bmake/files/configure
+++ b/devel/bmake/files/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64 for bmake 20100414.
+# Generated by GNU Autoconf 2.64 for bmake 2010505.
#
# Report bugs to <sjg@NetBSD.org>.
#
@@ -549,8 +549,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='bmake'
PACKAGE_TARNAME='bmake'
-PACKAGE_VERSION='20100414'
-PACKAGE_STRING='bmake 20100414'
+PACKAGE_VERSION='2010505'
+PACKAGE_STRING='bmake 2010505'
PACKAGE_BUGREPORT='sjg@NetBSD.org'
PACKAGE_URL=''
@@ -591,6 +591,8 @@ ac_includes_default="\
#endif"
ac_subst_vars='LTLIBOBJS
+filemon_h
+use_meta
diff_u
GCC
INSTALL
@@ -656,6 +658,8 @@ ac_subst_files=''
ac_user_opts='
enable_option_checking
with_defshell
+with_meta
+with_filemon
with_machine
with_force_machine
with_force_machine_arch
@@ -1216,7 +1220,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures bmake 20100414 to adapt to many kinds of systems.
+\`configure' configures bmake 2010505 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1277,7 +1281,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of bmake 20100414:";;
+ short | recursive ) echo "Configuration of bmake 2010505:";;
esac
cat <<\_ACEOF
@@ -1293,6 +1297,8 @@ Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-defshell=SHELL use SHELL by default - must be sh compatible, use sh or ksh to pick the internal definitions
+ --without-meta dissable use of meta-mode
+ --with-filemon=path/filemon.h indicate path to filemon.h for meta-mode
--with-machine=MACHINE explicitly set MACHINE
--with-force-machine=MACHINE set FORCE_MACHINE
--with-force-machine-arch=MACHINE set FORCE_MACHINE_ARCH
@@ -1380,7 +1386,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-bmake configure 20100414
+bmake configure 2010505
generated by GNU Autoconf 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
@@ -1901,7 +1907,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by bmake $as_me 20100414, which was
+It was created by bmake $as_me 2010505, which was
generated by GNU Autoconf 2.64. Invocation command line was
$ $0 $@
@@ -2267,6 +2273,47 @@ no) ;;
esac
fi
+use_meta=yes
+
+# Check whether --with-meta was given.
+if test "${with_meta+set}" = set; then :
+ withval=$with_meta; case "${withval}" in
+yes|no) use_meta=${withval};;
+*) as_fn_error "bad value ${withval} given for meta" "$LINENO" 5 ;;
+esac
+fi
+
+
+# Check whether --with-filemon was given.
+if test "${with_filemon+set}" = set; then :
+ withval=$with_filemon; case "/${withval}" in
+/no|*/filemon.h) filemon_h="${withval}";;
+*/filemon*) filemon_h="${withval}/filemon.h";;
+*) as_fn_error "bad value ${withval} given for filemon" "$LINENO" 5 ;;
+esac
+else
+
+OS=`uname -s`
+for d in "$srcdir/filemon" "$srcdir/../filemon"
+do
+ for x in "/$OS" ""
+ do
+ filemon_h="$d$x/filemon.h"
+ test -s "$filemon_h" && break
+ done
+ test -s "$filemon_h" && break
+done
+test -s "${filemon_h:-/dev/null}" || filemon_h=no
+
+fi
+
+case "$use_meta" in
+yes)
+ case "$filemon_h" in
+ *.h) echo "Using: filemon=$filemon_h" >&6;;
+ esac
+ ;;
+esac
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -4508,11 +4555,13 @@ fi
for ac_header in \
ar.h \
+ err.h \
fcntl.h \
paths.h \
poll.h \
ranlib.h \
string.h \
+ sys/mman.h \
sys/select.h \
sys/socket.h \
sys/time.h \
@@ -5360,11 +5409,14 @@ $as_echo "#define HAVE_WAIT3 1" >>confdefs.h
fi
for ac_func in \
+ err \
+ errx \
getcwd \
getenv \
getopt \
getwd \
killpg \
+ mmap \
putenv \
select \
setenv \
@@ -5373,6 +5425,7 @@ for ac_func in \
snprintf \
strerror \
strftime \
+ strsep \
strtod \
strtol \
unsetenv \
@@ -5380,6 +5433,8 @@ for ac_func in \
wait3 \
wait4 \
waitpid \
+ warn \
+ warnx \
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
@@ -5397,6 +5452,9 @@ done
for ac_func in \
getenv \
realpath \
+ dirname \
+ stresep \
+ strlcpy \
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
@@ -5793,6 +5851,8 @@ fi
+
+
ac_config_files="$ac_config_files Makefile make-bootstrap.sh unit-tests/Makefile"
cat >confcache <<\_ACEOF
@@ -6301,7 +6361,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by bmake $as_me 20100414, which was
+This file was extended by bmake $as_me 2010505, which was
generated by GNU Autoconf 2.64. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -6361,7 +6421,7 @@ Report bugs to <sjg@NetBSD.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-bmake config.status 20100414
+bmake config.status 2010505
configured by $0, generated by GNU Autoconf 2.64,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"