summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-03-24 12:30:32 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-03-24 12:31:47 +0100
commit92e50a448e9dd077c0e26fecb8dfda7f96954f30 (patch)
treee4bcd9623530e88bd238c3f6aef54118724c02f6
parentbd10bca194e0c8947bca7f67a7fd193636dd643d (diff)
downloadlocaledef-92e50a448e9dd077c0e26fecb8dfda7f96954f30.tar.gz
localedef-92e50a448e9dd077c0e26fecb8dfda7f96954f30.tar.xz
re-generate configureeglibc-2.14.1-r17443-ptx1ptx
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-xconfigure45
1 files changed, 45 insertions, 0 deletions
diff --git a/configure b/configure
index 198c9f1..6e88ab5 100755
--- a/configure
+++ b/configure
@@ -614,6 +614,10 @@ CPPFLAGS
LDFLAGS
CFLAGS
CC
+host_os
+host_vendor
+host_cpu
+host
build_os
build_vendor
build_cpu
@@ -1274,6 +1278,7 @@ _ACEOF
System types:
--build=BUILD configure for building on BUILD [guessed]
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
_ACEOF
fi
@@ -2191,6 +2196,39 @@ IFS=$ac_save_IFS
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
+$as_echo_n "checking host system type... " >&6; }
+if ${ac_cv_host+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "x$host_alias" = x; then
+ ac_cv_host=$ac_cv_build
+else
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
+$as_echo "$ac_cv_host" >&6; }
+case $ac_cv_host in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
+esac
+host=$ac_cv_host
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_host
+shift
+host_cpu=$1
+host_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+host_os=$*
+IFS=$ac_save_IFS
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
+
+
ac_config_headers="$ac_config_headers config.h"
@@ -3923,6 +3961,13 @@ _ACEOF
fi
+# use -fnested-functions on Mac OS
+case ${host_os} in
+ darwin*)
+ CFLAGS="${CFLAGS} -fnested-functions"
+ ;;
+esac
+
# These two macros are taken from GCC's config/acx.m4.