dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] pnet ChangeLog configure.in


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnet ChangeLog configure.in
Date: Mon, 19 Feb 2007 20:15:37 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnet
Changes by:     Klaus Treichel <ktreichel>      07/02/19 20:15:37

Modified files:
        .              : ChangeLog configure.in 

Log message:
        2007-02-19  Klaus Treichel  <address@hidden>
        
                * configure.in: Fix build on cygwin by moving the check for 
windows to the
                start in front of the check for programs so that the changed CC 
can be
                taken into account.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnet/ChangeLog?cvsroot=dotgnu-pnet&r1=1.3424&r2=1.3425
http://cvs.savannah.gnu.org/viewcvs/pnet/configure.in?cvsroot=dotgnu-pnet&r1=1.222&r2=1.223

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.3424
retrieving revision 1.3425
diff -u -b -r1.3424 -r1.3425
--- ChangeLog   18 Feb 2007 21:00:06 -0000      1.3424
+++ ChangeLog   19 Feb 2007 20:15:37 -0000      1.3425
@@ -1,3 +1,9 @@
+2007-02-19  Klaus Treichel  <address@hidden>
+
+       * configure.in: Fix build on cygwin by moving the check for windows to 
the
+       start in front of the check for programs so that the changed CC can be
+       taken into account.
+
 2007-02-18  Klaus Treichel  <address@hidden>
 
        * libffi/configure.in: Remove obsolete file.

Index: configure.in
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/configure.in,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -b -r1.222 -r1.223
--- configure.in        18 Feb 2007 13:31:32 -0000      1.222
+++ configure.in        19 Feb 2007 20:15:37 -0000      1.223
@@ -9,36 +9,9 @@
 AM_CONFIG_HEADER(include/il_config.h)
 AM_MAINTAINER_MODE
 
-dnl Checks for programs.
-AC_PROG_AWK
-AC_PROG_CC
-AC_PROG_CXX
-AC_PROG_INSTALL
-AC_PROG_LN_S
-AC_PROG_MAKE_SET
-AC_PROG_LIBTOOL
-AC_PROG_YACC
-AM_PROG_LEX
-
 # Tell everyone if we are crosscompiling
 AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
 
-AC_PATH_PROG(TREECC, treecc,, ${prefix}/bin:$PATH)
-if test -z "$TREECC" ; then
-    echo "treecc is required to build and can be obtained from"
-    echo "http://www.southern-storm.com.au";
-    exit 1
-fi
-TREECC_VERSION=`"$TREECC" -v | (read name version rest; echo $version)`
-AC_SUBST(TREECC_VERSION)
-
-if test x$cross_compiling = xyes ; then
-       AC_PATH_PROG(ILASM, ilasm)
-else
-       ILASM="\$(top_builddir)/ilasm/ilasm"
-fi
-AC_SUBST(ILASM)
-
 AC_PATH_PROG(SYSTEM_AR, ar)
 
 dnl Option to disable cygwin1.dll under Windows.
@@ -57,7 +30,7 @@
   *) AC_MSG_ERROR(bad value ${enableval} for --enable-cygwin) ;;
 esac],[cygwin=$def_cygwin])
 if test x$cygwin = xfalse ; then
-  CC="$CC -mno-cygwin"
+  CC="gcc -mno-cygwin"
   # to pass -mno-cygwin to configure of libffi and libgc
   export CC
   SOCKETLIBS="-lwsock32"
@@ -75,6 +48,34 @@
   esac
 fi
 
+dnl Checks for programs.
+AC_PROG_AWK
+AC_PROG_CC
+AC_PROG_CXX
+AC_PROG_INSTALL
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+AC_LIBTOOL_WIN32_DLL
+AC_PROG_LIBTOOL
+AC_PROG_YACC
+AM_PROG_LEX
+
+AC_PATH_PROG(TREECC, treecc,, ${prefix}/bin:$PATH)
+if test -z "$TREECC" ; then
+    echo "treecc is required to build and can be obtained from"
+    echo "http://www.southern-storm.com.au";
+    exit 1
+fi
+TREECC_VERSION=`"$TREECC" -v | (read name version rest; echo $version)`
+AC_SUBST(TREECC_VERSION)
+
+if test x$cross_compiling = xyes ; then
+       AC_PATH_PROG(ILASM, ilasm)
+else
+       ILASM="\$(top_builddir)/ilasm/ilasm"
+fi
+AC_SUBST(ILASM)
+
 dnl Disable typed allocation with libgc.
 def_typedalloc=true
 AC_ARG_ENABLE(typedalloc,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]