projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Updated to build on OSX (will now require updated autoconf)
[awesomized/libmemcached]
/
configure.in
diff --git
a/configure.in
b/configure.in
index b6b849d4d3c29ebf7dd0de483970200f3e7a373f..7a95f8cb5f7238c66ec136da072bd377847f2bcb 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-8,12
+8,18
@@
AC_PROG_LIBTOOL
LIBTOOL="$LIBTOOL --preserve-dup-deps"
AC_SUBST(LIBTOOL)dnl
LIBTOOL="$LIBTOOL --preserve-dup-deps"
AC_SUBST(LIBTOOL)dnl
+sinclude(config/debug.m4)
sinclude(config/dtrace.m4)
# We only support GCC and Sun's forte at the moment
if test "$GCC" = "yes"
then
sinclude(config/dtrace.m4)
# We only support GCC and Sun's forte at the moment
if test "$GCC" = "yes"
then
- CFLAGS="-Wall -ggdb"
+ if test "$ENABLE_DEBUG" = "yes"
+ then
+ CFLAGS="-Wall -ggdb"
+ else
+ CFLAGS="-Wall -O3"
+ fi
else
CFLAGS="-Xa -xstrconst -mt -D_FORTEC_ -fast -m64"
LDFLAGS="-lsocket -lnsl"
else
CFLAGS="-Xa -xstrconst -mt -D_FORTEC_ -fast -m64"
LDFLAGS="-lsocket -lnsl"