Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 3ee13a880f7b7e1746c41339fa9ece36 > files > 9

honeyd-1.5c-10mdv2010.0.src.rpm

--- configure.in	2007-05-29 23:27:36.000000000 +0200
+++ configure.in.oden	2007-05-29 23:30:49.000000000 +0200
@@ -211,7 +211,7 @@
 	PCREINC="-I$withval/include"
 	PCRELIB="-L$withval/src -lpcre `$withval/pcre-config --libs`"
      elif test -x $withval/bin/pcre-config; then
-	PCREINC="`$withval/bin/pcre-config --cflags`"
+	PCREINC="-I${includedir}"
 	PCRELIB="`$withval/bin/pcre-config --libs`"
      else
         AC_MSG_RESULT(no)
@@ -224,7 +224,7 @@
 [ dnl This is the default case so let's just use AC_PATH_PROG! --CPK.
   AC_PATH_PROG(pcreconfig, pcre-config, "no")
   if test "$pcreconfig" != "no"; then
-     PCREINC="`$pcreconfig --cflags`"
+     PCREINC="-I${includedir}"
      PCRELIB="`$pcreconfig --libs`"
   fi]
 )