compile with optimisation by default on all compilers
authorAndrew Tridgell <tridge@samba.org>
Sat, 14 Nov 1998 23:49:08 +0000 (23:49 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sat, 14 Nov 1998 23:49:08 +0000 (23:49 +0000)
(the mdfour code really needs it)

configure.in

index 23abe11..c300d6a 100644 (file)
@@ -2,6 +2,9 @@ dnl Process this file with autoconf to produce a configure script.
 AC_INIT(byteorder.h)
 AC_CONFIG_HEADER(config.h)
 
+# compile with optimisation and without debugging by default
+CFLAGS=${CFLAGS-"-O"}
+
 AC_CANONICAL_SYSTEM
 AC_VALIDATE_CACHE_SYSTEM_TYPE