Add ugly hack to workaround yum's problems with file:////.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Tue, 12 Sep 2006 17:19:50 +0000 (17:19 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Tue, 12 Sep 2006 17:19:50 +0000 (17:19 +0000)
(https://savannah.nongnu.org/bugs/?15517)

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2309 94cd875c-1c1d-0410-91d2-eb244daf1a30

configure.ac

index 9843756..e8d901e 100644 (file)
@@ -69,7 +69,10 @@ ENSC_PATHPROG(XSLTPROC,  xsltproc, [:])
 
 AM_CONDITIONAL(HAVE_XSLTP,    test "$XSLTP"    != ':')
 AM_CONDITIONAL(HAVE_XSLTPROC, test "$XSLTPROC" != ':')
-       
+
+if test x"$prefix" = x/; then
+       prefix=
+fi     
 
 ENSC_CHECK_CC_FLAG([-std=c99 -Wall -pedantic -W])
 ENSC_CHECK_CXX_FLAG([-ansi   -Wall -pedantic -W -fmessage-length=0])