]> sourceware.org Git - newlib-cygwin.git/commitdiff
* libc/machine/sh/configure.in: Avoid link tests.
authorDJ Delorie <dj@redhat.com>
Mon, 24 Apr 2006 20:19:52 +0000 (20:19 +0000)
committerDJ Delorie <dj@redhat.com>
Mon, 24 Apr 2006 20:19:52 +0000 (20:19 +0000)
* libc/machine/sh/configure: Regenerate.

newlib/ChangeLog
newlib/libc/machine/sh/configure
newlib/libc/machine/sh/configure.in

index 5d508750bfc6da06eed7c76e6df0c313d419a701..ae1570245fb6d819383a36f765d4949dbd301ce7 100644 (file)
@@ -1,3 +1,8 @@
+2006-04-24  DJ Delorie  <dj@redhat.com>
+
+       * libc/machine/sh/configure.in: Avoid link tests.
+       * libc/machine/sh/configure: Regenerate.
+
 2006-04-18  Jeff Johnston  <jjohnstn@redhat.com>
 
        * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
index 1aab2195385b3077be912f912d3988de45e4114b..274119bc846430e31b5048387326bd2edf352948 100755 (executable)
@@ -272,6 +272,7 @@ PACKAGE_STRING='newlib 1.14.0'
 PACKAGE_BUGREPORT=''
 
 ac_unique_file="asm.h"
+ac_no_link=no
 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAY_SUPPLY_SYSCALLS_TRUE MAY_SUPPLY_SYSCALLS_FALSE newlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CCAS CCASFLAGS NEWLIB_CFLAGS LDFLAGS ELIX_LEVEL_0_TRUE ELIX_LEVEL_0_FALSE ELIX_LEVEL_1_TRUE ELIX_LEVEL_1_FALSE ELIX_LEVEL_2_TRUE ELIX_LEVEL_2_FALSE ELIX_LEVEL_3_TRUE ELIX_LEVEL_3_FALSE ELIX_LEVEL_4_TRUE ELIX_LEVEL_4_FALSE USE_LIBTOOL_TRUE USE_LIBTOOL_FALSE OBJEXT oext aext lpfx libm_machine_dir machine_dir sys_dir CFLAGS CPPFLAGS ac_ct_CC EXEEXT CPP EGREP SH64_TRUE SH64_FALSE LIBOBJS LTLIBOBJS'
 ac_subst_files=''
 
@@ -2762,6 +2763,8 @@ OBJEXT=${oext}
 
 
 
+
+
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -3104,6 +3107,27 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; then
+  ac_no_link=no
+  cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
 int
 main ()
 {
@@ -3248,6 +3272,22 @@ echo "${ECHO_T}$ac_cv_exeext" >&6
 rm -f conftest.$ac_ext
 EXEEXT=$ac_cv_exeext
 ac_exeext=$EXEEXT
+
+else
+  ac_no_link=yes
+  # Setting cross_compile will disable run tests; it will
+  # also disable AC_CHECK_FILE but that's generally
+  # correct if we can't link.
+  cross_compiling=yes
+  EXEEXT=
+  # Check the compiler produces executables we can run.  If not, either
+# the compiler is broken, or we cross compile.
+echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
+echo "$as_me:$LINENO: result: $cross_compiling" >&5
+echo "${ECHO_T}$cross_compiling" >&6
+
+fi
 echo "$as_me:$LINENO: checking for suffix of object files" >&5
 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 if test "${ac_cv_objext+set}" = set; then
index a5ce4c72892f37fdfab94d4605deb1b78ad39519..248dd28b3c3418f4d7561210a86c0e6cf44983ae 100644 (file)
@@ -10,6 +10,8 @@ AC_CONFIG_AUX_DIR(../../../..)
 
 NEWLIB_CONFIGURE(../../..)
 
+AC_NO_EXECUTABLES
+
 AC_EGREP_CPP([sh5], [
 #if __SH5__
   sh5
This page took 0.052906 seconds and 5 git commands to generate.