瀏覽代碼

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

svn:r1920
Roger Dingledine 21 年之前
父節點
當前提交
5f36b11fe0
共有 1 個文件被更改,包括 5 次插入1 次删除
  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],