* INSTALLFLAGS added with default value -s(strip).
* For debug do: CFLAGS=-g INSTALLFLAGS= ./configure
This commit is contained in:
parent
1ac57dedaf
commit
7532fdde77
15 changed files with 63 additions and 41 deletions
11
configure.ac
11
configure.ac
|
|
@ -38,8 +38,9 @@
|
|||
|
||||
AC_INIT(lib/clixon/clixon.h.in)
|
||||
|
||||
# Default CFLAGS unless set by environment.
|
||||
: ${CFLAGS="-O2"}
|
||||
# Default CFLAGS unless set by environment
|
||||
: ${CFLAGS="-O2 -Wall"}
|
||||
: ${INSTALLFLAGS="-s"}
|
||||
|
||||
CLIXON_VERSION_MAJOR="3"
|
||||
CLIXON_VERSION_MINOR="6"
|
||||
|
|
@ -77,6 +78,7 @@ AC_SUBST(CFLAGS)
|
|||
AC_SUBST(LDFLAGS)
|
||||
AC_SUBST(INCLUDES)
|
||||
AC_SUBST(CPPFLAGS)
|
||||
AC_SUBST(INSTALLFLAGS)
|
||||
AC_SUBST(LIBS)
|
||||
AC_SUBST(OBJ_SUFFIX)
|
||||
AC_SUBST(AR_SUFFIX)
|
||||
|
|
@ -93,10 +95,9 @@ CPPFLAGS="-DHAVE_CONFIG_H ${CPPFLAGS}"
|
|||
|
||||
AC_MSG_RESULT(compiler is $CC)
|
||||
|
||||
CFLAGS="${CFLAGS} -Wall"
|
||||
|
||||
AC_MSG_RESULT(CPPFLAGS is $CPPFLAGS)
|
||||
AC_MSG_RESULT(CFLAGS is $CFLAGS)
|
||||
AC_MSG_RESULT(CFLAGS is $CFLAGS)
|
||||
AC_MSG_RESULT(INSTALLFLAGS is $INSTALLFLAGS)
|
||||
|
||||
AC_PROG_YACC
|
||||
AC_PROG_LEX
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue