changeset 1375:7949f3c690eb draft

Allow multiple hooks
author Roy Marples <roy@marples.name>
date Sun, 26 Jul 2009 17:18:10 +0000
parents 0c49c2128721
children ab612c2cf3a2
files configure
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Jul 26 16:40:47 2009 +0000
+++ b/configure	Sun Jul 26 17:18:10 2009 +0000
@@ -23,7 +23,8 @@
 	--mandir) MANDIR=$var;;
 	--with-ccopts|CFLAGS) CFLAGS=$var;;
 	CPPFLAGS) CPPFLAGS=$var;;
-	--with-hook|--with-hooks|HOOKSCRIPTS) HOOKSCRIPTS=$var;;
+	--with-hook|--with-hooks) HOOKSCRIPTS="$HOOKSCRIPTS $var";;
+	HOOKSCRIPTS) HOOKSCRIPTS=$var;;
 	*) echo "$0: WARNING: unknown option $opt" >&2;;
 	esac
 done