Author: fejj
Date: 2007-06-05 10:50:54 -0400 (Tue, 05 Jun 2007)
New Revision: 78634

Modified:
   trunk/monodevelop/ChangeLog
   trunk/monodevelop/configure.in
Log:
2007-06-05  Jeffrey Stedfast  <[EMAIL PROTECTED]>

        * configure.in: Instead of generating conftest.cs and conftest.exe
        for the monoquery configure tests, use myconftest.cs and
        myconftest.exe so that autoconf doesn't get confused and think
        that the system c compiler outputs .exe's.



Modified: trunk/monodevelop/ChangeLog
===================================================================
--- trunk/monodevelop/ChangeLog 2007-06-05 14:40:24 UTC (rev 78633)
+++ trunk/monodevelop/ChangeLog 2007-06-05 14:50:54 UTC (rev 78634)
@@ -1,3 +1,10 @@
+2007-06-05  Jeffrey Stedfast  <[EMAIL PROTECTED]>
+
+       * configure.in: Instead of generating conftest.cs and conftest.exe
+       for the monoquery configure tests, use myconftest.cs and
+       myconftest.exe so that autoconf doesn't get confused and think
+       that the system c compiler outputs .exe's.
+
 2007-06-04  Jeffrey Stedfast  <[EMAIL PROTECTED]>
 
        * configure.in: AM_CONDITIONAL()s always need to be run.

Modified: trunk/monodevelop/configure.in
===================================================================
--- trunk/monodevelop/configure.in      2007-06-05 14:40:24 UTC (rev 78633)
+++ trunk/monodevelop/configure.in      2007-06-05 14:50:54 UTC (rev 78634)
@@ -197,7 +197,7 @@
 
 if test "x$enable_monoquery" == "xyes"; then
    monoquery_try_compile () {
-      cat <<EOF | sed -e "s/\${Dbase}/${Dbase}/g" -e "s/\${Using}/${Using}/g" 
> conftest.cs
+      cat <<EOF | sed -e "s/\${Dbase}/${Dbase}/g" -e "s/\${Using}/${Using}/g" 
> myconftest.cs
 using System;
 using System.Data;
 using System.Collections;
@@ -214,14 +214,14 @@
        }
 }
 EOF
-      $CSC conftest.cs -r:System.Data $ExtraDbAssemblies > /dev/null 2>&1
+      $CSC myconftest.cs -r:System.Data $ExtraDbAssemblies > /dev/null 2>&1
       if test $? == 0; then
         my_ac_conftest_result="yes"
         monoquery_avail=`expr $monoquery_avail + 1`
       else
          my_ac_conftest_result="no"
       fi
-      rm -f conftest.cs
+      rm -f myconftest.cs myconftest.exe
    }
    
    AC_MSG_CHECKING([for PostgreSQL support])

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to