summaryrefslogtreecommitdiff
blob: 3214d4c66e2c2b96b85a2c5d2b791aa8721905ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- configure.ac.orig	2006-08-02 16:01:52.000000000 +1000
+++ configure.ac	2006-08-02 17:23:10.000000000 +1000
@@ -31,6 +31,18 @@
 [   with_profiling=$withval;   ],
 [   with_profiling=no;	   ])
 
+AC_ARG_ENABLE([packager-mode],
+              AS_HELP_STRING([--enable-packager-mode],
+                             [Change configuration behavior
+                              to ease packaging]),
+              [if test x"${enableval}" = xyes
+               then
+				   DEFAULT_CXX=no
+				   DEFAULT_CFLAGS=no
+				   DEFAULT_CXXFLAGS=no
+				   DEFAULT_LDFLAGS=no
+               fi])
+
 if test x$with_debug = xno; then
    if test x$DEFAULT_CFLAGS = xyes; then
       CFLAGS="`echo $CFLAGS | sed 's/-g//'`"