[llvm-commits] CVS: llvm/autoconf/configure.ac
Reid Spencer
reid at x10sys.com
Mon Aug 30 18:34:21 PDT 2004
Changes in directory llvm/autoconf:
configure.ac updated: 1.101 -> 1.102
---
Log message:
Recognize Interix systems as if they were SunOS and make sure we don't
attempt to configure for "Unknown" system types.
---
Diffs of the changes: (+9 -0)
Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.101 llvm/autoconf/configure.ac:1.102
--- llvm/autoconf/configure.ac:1.101 Sun Aug 29 14:18:05 2004
+++ llvm/autoconf/configure.ac Mon Aug 30 20:34:10 2004
@@ -128,6 +128,10 @@
AC_SUBST(OS,[AIX])
platform_type="AIX"
;;
+ *-*-interix*)
+ AC_SUBST(OS,[SunOS])
+ platform_type="SunOS"
+ ;;
*-*-win32*)
AC_SUBST(OS,[Win32])
platform_type="Win32"
@@ -138,6 +142,11 @@
;;
esac
+dnl Make sure we aren't attempting to configure for an unknown system
+if test $platform_type -eq "Unknown" ; then
+ AC_MSG_ERROR([Platform is unknown, configure can't continue])
+fi
+
dnl Make a link from lib/System/platform to lib/System/$platform_type
dnl This helps the #inclusion of the system specific include files
dnl for the operating system abstraction library
More information about the llvm-commits
mailing list