Commit 429fb381 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

let tor compile with tls on rh9

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
parent 05612786
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line

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