Windows: Make Rx PMTU discovery configurable; disable by default
[openafs.git] / configure.ac
index 7f8e0ce..9f42d8e 100644 (file)
@@ -23,7 +23,11 @@ AC_SUBST(LINUX_PKGREL)
 AC_SUBST(DEB_PKGVER)
 
 AC_USE_SYSTEM_EXTENSIONS
+
+dnl If the user hasn't specified CFLAGS don't let configure pick -g -O2
+AS_IF([test -z "$CFLAGS"], [CFLAGS=" "], [])
 AC_PROG_CC
+
 AC_PATH_PROGS([PATH_CPP], [cpp], [${CC-cc} -E], [$PATH:/lib:/usr/ccs/lib])
 AC_SUBST([PATH_CPP])
 OPENAFS_CONFIGURE_COMMON
@@ -127,6 +131,9 @@ src/comerr/Makefile \
 src/comerr/test/Makefile \
 src/config/Makefile \
 src/config/Makefile.config \
+src/config/Makefile.lwp \
+src/config/Makefile.pthread \
+src/config/Makefile.shared \
 src/config/Makefile.version-CML \
 src/config/Makefile.version-NOCML \
 src/config/shlib-build \