Turn on developer flags if .git exists, too
authorAlan T. DeKok <aland@freeradius.org>
Wed, 9 Jul 2008 16:03:30 +0000 (18:03 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 9 Jul 2008 16:03:30 +0000 (18:03 +0200)
configure.in

index 3cf8fb5..54b5a6b 100644 (file)
@@ -291,6 +291,11 @@ if test "x$developer" != "xno" -a -d $srcdir/CVS; then
   developer="yes"
 fi
 
+if test "x$developer" != "xno" -a -d $srcdir/.git; then
+  dnl turn on the developer flag when taken from a git checkout (not a release)
+  developer="yes"
+fi
+
 dnl extra argument: --with-experimental-modules
 EXPERIMENTAL=
 AC_ARG_WITH(experimental-modules,