configure.in (49caa483b3fafffd9cf5197eb30e8bb235aa7410) | configure.in (ef0b253881c9546ff88d3ed8480df7c791b3ddff) |
---|---|
1dnl 2dnl RCSid: | 1dnl 2dnl RCSid: |
3dnl $Id: configure.in,v 1.63 2020/04/19 05:17:57 sjg Exp $ | 3dnl $Id: configure.in,v 1.65 2020/05/25 01:11:40 sjg Exp $ |
4dnl 5dnl Process this file with autoconf to produce a configure script 6dnl 7AC_PREREQ(2.50) | 4dnl 5dnl Process this file with autoconf to produce a configure script 6dnl 7AC_PREREQ(2.50) |
8AC_INIT([bmake], [20200418], [sjg@NetBSD.org]) | 8AC_INIT([bmake], [20200524], [sjg@NetBSD.org]) |
9AC_CONFIG_HEADERS(config.h) 10 11dnl make srcdir absolute 12case "$srcdir" in 13/*) ;; 14*) srcdir=`cd $srcdir && pwd`;; 15esac 16 --- 38 unchanged lines hidden (view full) --- 55AC_ARG_WITH(filemon, 56[ --with-filemon={no,dev,ktrace,path/filemon.h} indicate filemon method for meta-mode. Path to filemon.h implies dev], 57[ case "/${withval}" in 58/no) use_filemon=no;; 59/*trace) filemon_h=no use_filemon="${withval}";; 60*/filemon.h) filemon_h="${withval}";; 61*/filemon*) filemon_h="${withval}/filemon.h";; 62*) AC_MSG_ERROR(bad value ${withval} given for filemon) ;; | 9AC_CONFIG_HEADERS(config.h) 10 11dnl make srcdir absolute 12case "$srcdir" in 13/*) ;; 14*) srcdir=`cd $srcdir && pwd`;; 15esac 16 --- 38 unchanged lines hidden (view full) --- 55AC_ARG_WITH(filemon, 56[ --with-filemon={no,dev,ktrace,path/filemon.h} indicate filemon method for meta-mode. Path to filemon.h implies dev], 57[ case "/${withval}" in 58/no) use_filemon=no;; 59/*trace) filemon_h=no use_filemon="${withval}";; 60*/filemon.h) filemon_h="${withval}";; 61*/filemon*) filemon_h="${withval}/filemon.h";; 62*) AC_MSG_ERROR(bad value ${withval} given for filemon) ;; |
63esac], | 63esac 64case "$use_filemon,$filemon_h" in 65,*.h) use_filemon=dev;; 66esac 67], |
64[ 65case "$OS" in 66NetBSD) filemon_h=no use_filemon=ktrace;; 67*) 68 for d in "/usr/include/dev/filemon" "$prefix/include/dev/filemon" "$srcdir/../../sys/dev/filemon" 69 do 70 for x in "/$OS" "" 71 do --- 23 unchanged lines hidden (view full) --- 95dnl Check for OS problems 96dnl Solaris's signal.h only privides sigset_t etc if one of 97dnl _EXTENSIONS_ _POSIX_C_SOURCE or _XOPEN_SOURCE are defined. 98dnl The later two seem to cause more problems than they solve so if we 99dnl see _EXTENSIONS_ we use it. 100AC_USE_SYSTEM_EXTENSIONS 101dnl Checks for programs. 102AC_PROG_CC | 68[ 69case "$OS" in 70NetBSD) filemon_h=no use_filemon=ktrace;; 71*) 72 for d in "/usr/include/dev/filemon" "$prefix/include/dev/filemon" "$srcdir/../../sys/dev/filemon" 73 do 74 for x in "/$OS" "" 75 do --- 23 unchanged lines hidden (view full) --- 99dnl Check for OS problems 100dnl Solaris's signal.h only privides sigset_t etc if one of 101dnl _EXTENSIONS_ _POSIX_C_SOURCE or _XOPEN_SOURCE are defined. 102dnl The later two seem to cause more problems than they solve so if we 103dnl see _EXTENSIONS_ we use it. 104AC_USE_SYSTEM_EXTENSIONS 105dnl Checks for programs. 106AC_PROG_CC |
103AC_PROG_GCC_TRADITIONAL | 107AC_PROG_CC_C99 108dnl AC_PROG_GCC_TRADITIONAL |
104AC_PROG_INSTALL 105dnl Executable suffix - normally empty; .exe on os2. 106AC_SUBST(ac_exe_suffix)dnl 107dnl 108dnl Hurd refuses to define PATH_MAX or MAXPATHLEN 109if test -x /usr/bin/getconf; then 110 bmake_path_max=`getconf PATH_MAX / 2> /dev/null` 111 # only a numeric response is useful --- 319 unchanged lines hidden --- | 109AC_PROG_INSTALL 110dnl Executable suffix - normally empty; .exe on os2. 111AC_SUBST(ac_exe_suffix)dnl 112dnl 113dnl Hurd refuses to define PATH_MAX or MAXPATHLEN 114if test -x /usr/bin/getconf; then 115 bmake_path_max=`getconf PATH_MAX / 2> /dev/null` 116 # only a numeric response is useful --- 319 unchanged lines hidden --- |