summaryrefslogtreecommitdiff
path: root/source3/configure
diff options
context:
space:
mode:
Diffstat (limited to 'source3/configure')
-rwxr-xr-xsource3/configure14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/configure b/source3/configure
index c2750d5fff..a807413bb6 100755
--- a/source3/configure
+++ b/source3/configure
@@ -848,10 +848,6 @@ done
-PICFLAG="-fpic"
-HOST_OS="$host_os"
-
-
# Do some error checking and defaulting for the host and target type.
# The inputs are:
# configure --host=HOST --target=TARGET --build=BUILD NONOPT
@@ -879,7 +875,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
echo $ac_n "checking host system type""... $ac_c" 1>&6
-echo "configure:883: checking host system type" >&5
+echo "configure:879: checking host system type" >&5
host_alias=$host
case "$host_alias" in
@@ -900,7 +896,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$host" 1>&6
echo $ac_n "checking target system type""... $ac_c" 1>&6
-echo "configure:904: checking target system type" >&5
+echo "configure:900: checking target system type" >&5
target_alias=$target
case "$target_alias" in
@@ -918,7 +914,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$target" 1>&6
echo $ac_n "checking build system type""... $ac_c" 1>&6
-echo "configure:922: checking build system type" >&5
+echo "configure:918: checking build system type" >&5
build_alias=$build
case "$build_alias" in
@@ -940,6 +936,10 @@ test "$host_alias" != "$target_alias" &&
NONENONEs,x,x, &&
program_prefix=${target_alias}-
+
+PICFLAG="-fpic"
+HOST_OS="$host_os"
+
case "$host_os" in
*linux*) cat >> confdefs.h <<\EOF
#define LINUX 1