From 49014ed560547698b7fb18f549b888c375359d42 Mon Sep 17 00:00:00 2001 From: David Hedbor Date: Sun, 19 Nov 2000 09:10:16 +0000 Subject: Patch to find module dir --- sapi/caudium/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/caudium/config.m4') diff --git a/sapi/caudium/config.m4 b/sapi/caudium/config.m4 index e6ecefdc06..5c6fcb7fd4 100644 --- a/sapi/caudium/config.m4 +++ b/sapi/caudium/config.m4 @@ -18,7 +18,7 @@ AC_ARG_WITH(caudium, AC_MSG_ERROR(Couldn't find a pike in $withval/bin/) fi if $PIKE -e 'float v; int rel;sscanf(version(), "Pike v%f release %d", v, rel);v += rel/10000.0; if(v < 7.0) exit(1); exit(0);'; then - PIKE_MODULE_DIR="`$PIKE --show-paths 2>&1| grep lib/modules | sed -e 's/.*: //'`" + PIKE_MODULE_DIR="`$PIKE --show-paths 2>&1| grep '^Module' | sed -e 's/.*: //'`" PIKE_INCLUDE_DIR="`echo $PIKE_MODULE_DIR | sed -e 's,lib/pike/modules,include/pike,' -e 's,lib/modules,include/pike,'`" if test -z "$PIKE_INCLUDE_DIR" -o -z "$PIKE_MODULE_DIR"; then AC_MSG_ERROR(Failed to figure out Pike module and include directories) -- cgit v1.2.1