blob: 803a01f9e2bca573d2c6d89e6abdc2c0d4e7c28e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- nsat/configure.in.orig 2003-01-05 22:47:13.000000000 +0100
+++ nsat/configure.in 2009-01-15 07:56:35.000000000 +0100
@@ -15,7 +15,6 @@
else
AC_MSG_RESULT(crappy :P)
fi
- LEETCC=$ac_cv_prog_gcc;
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_MAKE_SET
@@ -45,11 +44,11 @@
if test $LEETCC = yes; then
CCOPTS='-Wall -O6 -funroll-loops -ansi -fPIC -DLINUX'
else
- CCOPTS='-DLINUX'
+ CCOPTS="${CFLAGS} -DLINUX"
fi
- CFLAGS="$CCOPTS"
- SMBCFLAGS="-Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2"
+ SMBCFLAGS="${CCOPTS} -Wall -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2"
SMBLFLAGS="-lnsl -lcrypt"
+ CFLAGS="${CCOPTS} -Wall -ansi -fPIC -DLINUX"
;;
*Darwin* | *Mac* | *MAC*)
AC_MSG_RESULT(found MAC OS X)
|