aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-03-17 02:04:10 +0000
committerNick Mathewson <nickm@torproject.org>2003-03-17 02:04:10 +0000
commit1bf9f08b26caaa1211af89c0611e07778ec20cbc (patch)
tree54d1d4cb539beef2a3090913e1651ef800a4f8a5
parent95954a8d30b5c66bcd133bc48532d9fcb21c930e (diff)
downloadtor-1bf9f08b26caaa1211af89c0611e07778ec20cbc.tar
tor-1bf9f08b26caaa1211af89c0611e07778ec20cbc.tar.gz
Change gcc options to ones that work on Mac OS X; add zlib to headers
svn:r182
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index e9e358cd1..3603030d9 100644
--- a/configure.in
+++ b/configure.in
@@ -8,7 +8,7 @@ CFLAGS="-Wall -O2"
AC_ARG_ENABLE(debug,
[ --enable-debug compiles with debugging info],
[if test x$enableval = xyes; then
- CFLAGS="-Wall -ggdb -O2"
+ CFLAGS="-Wall -g -O2"
fi])
AC_PROG_CC
@@ -133,7 +133,7 @@ LIBS="$saved_LIBS -lcrypto"
dnl The warning message here is no longer strictly accurate.
-AC_CHECK_HEADERS(unistd.h string.h signal.h netdb.h ctype.h poll.h sys/poll.h sys/types.h sys/fcntl.h sys/ioctl.h sys/socket.h sys/time.h netinet/in.h arpa/inet.h errno.h assert.h stdint.h, , AC_MSG_WARN(some headers were not found, compilation may fail))
+AC_CHECK_HEADERS(unistd.h string.h signal.h netdb.h ctype.h poll.h sys/poll.h sys/types.h sys/fcntl.h sys/ioctl.h sys/socket.h sys/time.h netinet/in.h arpa/inet.h errno.h assert.h stdint.h zlib.h, , AC_MSG_WARN(some headers were not found, compilation may fail))
AC_OUTPUT(Makefile src/Makefile src/common/Makefile src/orkeygen/Makefile src/or/Makefile)