summaryrefslogtreecommitdiff
path: root/source3/configure
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-04-11 02:02:45 +0000
committerJeremy Allison <jra@samba.org>2001-04-11 02:02:45 +0000
commit91e97f90919fdc3bd2d26a5809cc3d037dbe4b22 (patch)
treefc723edfc23724bb456747fbfbee13df1f6a52f0 /source3/configure
parentb541683e44ebcfdf3259325d266a60eaaf19dc95 (diff)
downloadsamba-91e97f90919fdc3bd2d26a5809cc3d037dbe4b22.tar.gz
samba-91e97f90919fdc3bd2d26a5809cc3d037dbe4b22.tar.bz2
samba-91e97f90919fdc3bd2d26a5809cc3d037dbe4b22.zip
Changed the order of -kPIC and -kpic.
Added patch from Michael Davidson <md@sco.COM> for Solaris/Unixware ACLS. Jeremy. (This used to be commit 144a2906810e8d4414d627835eb80f60bd1d88a4)
Diffstat (limited to 'source3/configure')
-rwxr-xr-xsource3/configure42
1 files changed, 21 insertions, 21 deletions
diff --git a/source3/configure b/source3/configure
index bcff6d76ed..570d741314 100755
--- a/source3/configure
+++ b/source3/configure
@@ -935,7 +935,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-for ac_prog in mawk gawk nawk awk
+for ac_prog in gawk mawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -8151,45 +8151,45 @@ if test $ac_cv_prog_cc_fpic = yes; then
PICFLAG="-fpic";
fi
if test x$PICFLAG = x; then
- echo $ac_n "checking whether ${CC-cc} accepts -Kpic""... $ac_c" 1>&6
-echo "configure:8156: checking whether ${CC-cc} accepts -Kpic" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_cc_Kpic'+set}'`\" = set"; then
+ echo $ac_n "checking whether ${CC-cc} accepts -KPIC""... $ac_c" 1>&6
+echo "configure:8156: checking whether ${CC-cc} accepts -KPIC" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_cc_KPIC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo 'void f(){}' > conftest.c
-if test -z "`${CC-cc} -Kpic -c conftest.c 2>&1`"; then
- ac_cv_prog_cc_Kpic=yes
+if test -z "`${CC-cc} -KPIC -c conftest.c 2>&1`"; then
+ ac_cv_prog_cc_KPIC=yes
else
- ac_cv_prog_cc_Kpic=no
+ ac_cv_prog_cc_KPIC=no
fi
rm -f conftest*
fi
-echo "$ac_t""$ac_cv_prog_cc_Kpic" 1>&6
- if test $ac_cv_prog_cc_Kpic = yes; then
- PICFLAG="-Kpic";
+echo "$ac_t""$ac_cv_prog_cc_KPIC" 1>&6
+ if test $ac_cv_prog_cc_KPIC = yes; then
+ PICFLAG="-KPIC";
fi
fi
if test x$PICFLAG = x; then
- echo $ac_n "checking whether ${CC-cc} accepts -KPIC""... $ac_c" 1>&6
-echo "configure:8177: checking whether ${CC-cc} accepts -KPIC" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_cc_KPIC'+set}'`\" = set"; then
+ echo $ac_n "checking whether ${CC-cc} accepts -Kpic""... $ac_c" 1>&6
+echo "configure:8177: checking whether ${CC-cc} accepts -Kpic" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_cc_Kpic'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo 'void f(){}' > conftest.c
-if test -z "`${CC-cc} -KPIC -c conftest.c 2>&1`"; then
- ac_cv_prog_cc_KPIC=yes
+if test -z "`${CC-cc} -Kpic -c conftest.c 2>&1`"; then
+ ac_cv_prog_cc_Kpic=yes
else
- ac_cv_prog_cc_KPIC=no
+ ac_cv_prog_cc_Kpic=no
fi
rm -f conftest*
fi
-echo "$ac_t""$ac_cv_prog_cc_KPIC" 1>&6
- if test $ac_cv_prog_cc_KPIC = yes; then
- PICFLAG="-KPIC";
+echo "$ac_t""$ac_cv_prog_cc_Kpic" 1>&6
+ if test $ac_cv_prog_cc_Kpic = yes; then
+ PICFLAG="-Kpic";
fi
fi
@@ -11603,8 +11603,8 @@ if test "${with_acl_support+set}" = set; then
yes)
case "$host_os" in
- *unixware*)
- echo "$ac_t""Using SVR4 ACLs" 1>&6
+ *sysv5*)
+ echo "$ac_t""Using UnixWare ACLs" 1>&6
cat >> confdefs.h <<\EOF
#define HAVE_UNIXWARE_ACLS 1
EOF