From 9b57336f4c6c01a87a834fadc06530857efad0c9 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Fri, 22 Apr 2005 00:10:06 +0000 Subject: [PATCH] Fix unix builds that need the included regex. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1664 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/Makeinfo | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sc2/Makeinfo b/sc2/Makeinfo index 77a6e61c9..b2f23dd04 100644 --- a/sc2/Makeinfo +++ b/sc2/Makeinfo @@ -10,6 +10,9 @@ else uqm_NAME=uqm # File name of executable fi uqm_CFLAGS="$uqm_CFLAGS -I src -I src/sc2code -I src/sc2code/libs" +if [ "$uqm_HAVE_REGEX" = 0 ]; then + uqm_CFLAGS="$uqm_CFLAGS -I src/regex" +fi # Stuff to install under the directory for libraries, as specified during # config.