Ver código fonte

rik's patch to only include kerberos/include on red hat

svn:r1920
Roger Dingledine 21 anos atrás
pai
commit
5f36b11fe0
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5 1
      configure.in

+ 5 - 1
configure.in

@@ -5,7 +5,11 @@ AM_CONFIG_HEADER(orconfig.h)
 
 AC_CANONICAL_HOST
 
-CFLAGS="$CFLAGS -Wall -g -O2 -I/usr/kerberos/include"
+CFLAGS="$CFLAGS -Wall -g -O2"
+
+if test -f /etc/redhat-release; then
+    CFLAGS="$CFLAGS -I/usr/kerberos/include"
+fi
 
 AC_ARG_ENABLE(debug,
 [  --enable-debug          compiles with debugging info],