|
From: <du...@ma...> - 2008-12-27 16:00:46
|
Author: duane
Date: 2008-12-27 16:00:36 +0100 (Sat, 27 Dec 2008)
New Revision: 1284
Modified:
trunk/configure.in
Log:
Some systems report linux as host, others linux-gnu... grrr
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2008-12-27 13:47:36 UTC (rev 1283)
+++ trunk/configure.in 2008-12-27 15:00:36 UTC (rev 1284)
@@ -55,7 +55,7 @@
LDFLAGS="$LDFLAGS -L$OCDxprefix/lib"
# RPATH becomes an issue on Linux only
- if test $host_os = linux-gnu
+ if test $host_os = linux-gnu || $host_os = linux
then
LDFLAGS="$LDFLAGS -Wl,-rpath,$OCDxprefix/lib"
fi
@@ -500,7 +500,7 @@
AC_MSG_CHECKING([for libftd2xx.a (linux)])
# Must be linux -
# Cause FTDICHIP does not supply a MAC-OS version
- if test $host_os != linux-gnu; then
+ if test $host_os != linux-gnu && $host_os != linux ; then
AC_MSG_ERROR([The (linux) ftd2xx library from FTDICHIP.com is linux only. Try --enable-ft2232-libftdi instead])
fi
# Are we given a TAR directory?
|