]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
let tor compile with tls on rh9
authorRoger Dingledine <arma@torproject.org>
Sun, 14 Sep 2003 01:44:44 +0000 (01:44 +0000)
committerRoger Dingledine <arma@torproject.org>
Sun, 14 Sep 2003 01:44:44 +0000 (01:44 +0000)
nick: is this the right way to do the autoconf stuff? what happens when
/usr/kerberos/include/ doesn't exist?
an alternate way is to add `pkg-config --cflags openssl` to CFLAGS, but
it seems that command only works on rh9. yay portability issues.

svn:r453

configure.in

index 737a431d2243cf2faff6a6c54647ce4a805095a5..7576acdc21ad56c0c062a0606076c415693b6e4b 100644 (file)
@@ -1,14 +1,14 @@
 
 AC_INIT
-AM_INIT_AUTOMAKE(tor, 0.0.2pre6)
+AM_INIT_AUTOMAKE(tor, 0.0.2pre8)
 AM_CONFIG_HEADER(orconfig.h)
 
-CFLAGS="-Wall -O2"
+CFLAGS="-Wall -O2 -I/usr/kerberos/include"
 
 AC_ARG_ENABLE(debug,
 [  --enable-debug          compiles with debugging info],
 [if test x$enableval = xyes; then
-    CFLAGS="-Wall -g -O2"
+    CFLAGS="$CFLAGS -g"
 fi])
 
 AC_PROG_CC