[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r7767 - gnuradio/branches/developers/michaelld/build_c
From: |
michaelld |
Subject: |
[Commit-gnuradio] r7767 - gnuradio/branches/developers/michaelld/build_config |
Date: |
Thu, 21 Feb 2008 11:35:17 -0700 (MST) |
Author: michaelld
Date: 2008-02-21 11:35:16 -0700 (Thu, 21 Feb 2008)
New Revision: 7767
Modified:
gnuradio/branches/developers/michaelld/build_config/run_tests.sh.in
Log:
Moved darwin and windows check to use @host_os@ and 'case'.
Modified: gnuradio/branches/developers/michaelld/build_config/run_tests.sh.in
===================================================================
--- gnuradio/branches/developers/michaelld/build_config/run_tests.sh.in
2008-02-21 05:40:16 UTC (rev 7766)
+++ gnuradio/branches/developers/michaelld/build_config/run_tests.sh.in
2008-02-21 18:35:16 UTC (rev 7767)
@@ -81,9 +81,9 @@
# Where to find pre-installed libraries
address@hidden@
-# Special Code for executing on Darwin / Mac OS X only
-if [ "@FUSB_TECH@" = "darwin" ]
-then
+case "@host_os@" in
+ darwin*)
+ # Special Code for executing on Darwin / Mac OS X only
if [ "$DYLD_LIBRARY_PATH" = "" ]
then
DYLD_LIBRARY_PATH=$mylibdir
@@ -102,11 +102,9 @@
DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$withlibdirs
fi
export DYLD_LIBRARY_PATH
-fi
-
-# Special Code for executing on Win32 variants only
-if [ "@FUSB_TECH@" = "win32" ]
-then
+ ;;
+ cygwin*|win*|mingw*)
+ # Special Code for executing on Win32 variants only
if [ "$PATH" = "" ]
then
PATH=$mylibdir
@@ -125,7 +123,8 @@
PATH=$PATH:$withlibdirs
fi
export PATH
-fi
+ ;;
+esac
# Don't load user or system prefs
GR_DONT_LOAD_PREFS=1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r7767 - gnuradio/branches/developers/michaelld/build_config,
michaelld <=