X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=configure.in;h=332551ee2f0ed6c0f2b39e9841c1866c762a1543;hp=638a73f7f62fbbd8c7f323838aca9d7bf88e48ea;hb=abaa61adf7e63d7786397c6220e0168827a14c59;hpb=aae70f0a46e3e50f93627d11141325cfebd762f5 diff --git a/configure.in b/configure.in index 638a73f7f6..332551ee2f 100644 --- a/configure.in +++ b/configure.in @@ -55,8 +55,7 @@ then LDFLAGS="$LDFLAGS -L$OCDxprefix/lib" # RPATH becomes an issue on Linux only - if test $host_os = linux-gnu || $host_os = linux - then + if test $host_os = linux-gnu || test $host_os = linux ; then LDFLAGS="$LDFLAGS -Wl,-rpath,$OCDxprefix/lib" fi # The "INCDIR" is also usable @@ -500,7 +499,7 @@ if test $build_ft2232_ftd2xx = yes ; then 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 && $host_os != linux ; then + if test $host_os != linux-gnu && test $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?