diff options
author | Mukund Sivaraman <muks@banu.com> | 2008-05-24 16:13:40 +0530 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2008-05-24 16:13:40 +0530 |
commit | 868a4561fedf2756df9f2683a0bd68cedddf8dae (patch) | |
tree | bcfe8e2096a35fef25c1c042213dab833885ebca /config/argenable.m4 | |
parent | b0a3568de0d0a8d1d6000aaa310870862398a07b (diff) | |
download | tinyproxy-868a4561fedf2756df9f2683a0bd68cedddf8dae.tar.gz tinyproxy-868a4561fedf2756df9f2683a0bd68cedddf8dae.zip |
Restructured automake macros
Diffstat (limited to 'config/argenable.m4')
-rw-r--r-- | config/argenable.m4 | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/config/argenable.m4 b/config/argenable.m4 deleted file mode 100644 index ed5d7f0..0000000 --- a/config/argenable.m4 +++ /dev/null @@ -1,19 +0,0 @@ -dnl $Id: argenable.m4,v 1.1 2004-08-24 18:40:21 rjkaes Exp $ -dnl -dnl Define a new AC_ARG_ENABLE like macro which handles invalid inputs -dnl correctly. The macro takes three arguments: -dnl 1) the option name (used like --enable-option) -dnl 2) the help string -dnl 3) the default value (either yes or no) -dnl -dnl This macro also defines on variable in the form "option_enabled" -dnl set to either "yes" or "no". -dnl -AC_DEFUN(TP_ARG_ENABLE, -[AC_ARG_ENABLE([$1], - AS_HELP_STRING([--enable-$1], [$2]), - [case "${enableval}" in - yes) $1_enabled=yes ;; - no) $1_enabled=no ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-$1]) ;; - esac],[$1_enabled=$3])]) |