1dnl 2dnl RCSid: |
3dnl $Id: configure.in,v 1.45 2012/06/20 22:43:41 sjg Exp $ |
4dnl 5dnl Process this file with autoconf to produce a configure script 6dnl |
7AC_INIT([bmake], [20120620], [sjg@NetBSD.org]) |
8AC_CONFIG_HEADER(config.h) 9 10dnl 11AC_ARG_WITH(defshell, 12[ --with-defshell=SHELL use SHELL by default - must be sh compatible, use sh or ksh to pick the internal definitions], 13[case "${withval}" in 14yes) AC_MSG_ERROR(bad value ${withval} given for bmake DEFSHELL) ;; 15no) ;; --- 18 unchanged lines hidden (view full) --- 34[ --with-filemon=path/filemon.h indicate path to filemon.h for meta-mode], 35[ case "/${withval}" in 36/no|*/filemon.h) filemon_h="${withval}";; 37*/filemon*) filemon_h="${withval}/filemon.h";; 38*) AC_MSG_ERROR(bad value ${withval} given for filemon) ;; 39esac], 40[ 41OS=`uname -s` |
42for d in "/usr/include/dev/filemon" "$prefix/include/dev/filemon" "$srcdir/filemon" "$srcdir/../filemon" "$srcdir/../../sys/dev/filemon" |
43do 44 for x in "/$OS" "" 45 do 46 filemon_h="$d$x/filemon.h" 47 test -s "$filemon_h" && break 48 done 49 test -s "$filemon_h" && break 50done --- 320 unchanged lines hidden --- |