diff --git a/configure.in b/configure.in index d9395fe7e5..b63f83b087 100644 --- a/configure.in +++ b/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],