dnl ## dnl ## Support for Platform IDs dnl ## dnl ## configure.in: dnl ## AC_PLATFORM() dnl ## AC_DEFUN(AC_PLATFORM,[ if test ".$host" != .NONE && test ".$host" != .; then $1="$host" else $1=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess` fi $1=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub $$1` || exit 1 AC_SUBST($1) if test ".$enable_subdir" != .yes; then if test ".$enable_headline" != .no; then echo "Platform: ${TB}${$1}${TN}" fi fi ])dnl dnl ## dnl ## Support for Configuration Headers dnl ## dnl ## configure.in: dnl ## AC_HEADLINE(, , dnl ## , , dnl ## ) dnl ## AC_DEFUN(AC_HEADLINE,[dnl # configuration header if test ".`echo dummy [$]@ | grep help`" = .; then # bootstrapping shtool ac_prog=[$]0 changequote(, )dnl ac_srcdir=`echo $ac_prog | sed -e 's%/[^/][^/]*$%%' -e 's%\([^/]\)/*$%\1%'` changequote([, ])dnl test ".$ac_srcdir" = ".$ac_prog" && ac_srcdir=. ac_shtool="$ac_srcdir/shtool" # find out terminal sequences TB=`$ac_shtool echo -n -e %B 2>/dev/null` TN=`$ac_shtool echo -n -e %b 2>/dev/null` # find out package version $3_STR="`$ac_shtool version -l c -d long $ac_srcdir/$4`" AC_SUBST($3_STR) # friendly header ;) if test ".$enable_headline" != .no; then echo "Configuring ${TB}$1${TN} ($2), Version ${TB}${$3_STR}${TN}" echo "$5" fi # additionally find out hex version $3_HEX="`$ac_shtool version -l c -d hex $ac_srcdir/$4`" AC_SUBST($3_HEX) fi ])dnl dnl ## dnl ## Check whether compiler option works dnl ## dnl ## configure.in: dnl ## AC_COMPILER_OPTION(, ,