From 67fd3c37e6908795bd86220435a37637c9e16d63 Mon Sep 17 00:00:00 2001 From: tgoodwin Date: Tue, 17 Feb 1998 15:46:42 +0000 Subject: first stab at getting execve.c only compiled when needed --- configure.ac | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 566bf40..bcb9e92 100644 --- a/configure.ac +++ b/configure.ac @@ -35,7 +35,7 @@ AC_CACHE_CHECK(for signal names, rc_cv_signal_h, fi done ) -case "x$rc_cv_signal_h" in +case "$rc_cv_signal_h" in '') AC_MSG_ERROR(Can't find signal names in $rc_cv_full_signal_h) ;; *) SIGNAL_H=$rc_cv_signal_h ;; esac @@ -170,12 +170,9 @@ esac dnl Does the kernel handle `#! /interpreter'? AC_SYS_INTERPRETER case "$ac_cv_sys_interpreter" in -yes) AC_DEFINE(HASH_BANG) - EXECVE='' - ;; -no) EXECVE=execve.o ;; +yes) AC_DEFINE(HASH_BANG) ;; esac -AC_SUBST(EXECVE) +AM_CONDITIONAL(N_H_B, test "$ac_cv_sys_interpreter" = no) dnl What do we do for command arguments? We want /dev/fd, Linux's @@ -271,7 +268,7 @@ AC_ARG_ENABLE(history, *) rc_history=no ;; esac ], rc_history=no) -AM_CONDITIONAL(HISTORY, test x$rc_history = xyes) +AM_CONDITIONAL(HISTORY, test "$rc_history" = yes) AC_ARG_WITH(addon, [ --with-addon Extra builtins, from addon.c ],[ case "$withval" in -- cgit v1.2.3