mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user