add check for x86_64, if set we need to add -fPIC

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@473 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
imaginos
2005-09-08 05:32:53 +00:00
parent 02567e4309
commit 6b46481803
2 changed files with 435 additions and 187 deletions
Vendored
+431 -187
View File
File diff suppressed because it is too large Load Diff
+4
View File
@@ -35,6 +35,10 @@ elif `echo $host_os | grep -i 'sol' >/dev/null 2>/dev/null`; then
ISSUN=1
fi
if test "$host_cpu" = "x86_64"; then
appendCXX -fPIC
fi
AC_ARG_WITH( openssl, [ --with-openssl=/path/to/openssl], OPENSSL=$withval,)
AC_ARG_ENABLE( debug, [ --enable-debug enable debuging], appendCXX -Wall -ggdb -D_DEBUG, appendCXX -Wall -s -O2 -fomit-frame-pointer )
AC_ARG_ENABLE( modules, [ --disable-modules disable modules], MODULES="no", MODULES="yes")