changeset 15876:84b38d6442e6

configure.ac: Replace uses of 'true' as a command. * configure.ac: Replace uses of 'true' as a command.
author Rik <rik@octave.org>
date Wed, 02 Jan 2013 20:18:28 -0800
parents c18692212b90
children 596b26e11ddb
files configure.ac
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Wed Jan 02 17:15:57 2013 -0800
+++ b/configure.ac	Wed Jan 02 20:18:28 2013 -0800
@@ -1420,9 +1420,7 @@
    esac],
   [ENABLE_DYNAMIC_LINKING=true])
 
-if $STATIC_LIBS || $SHARED_LIBS; then
-  true
-else
+if ! $STATIC_LIBS && ! $SHARED_LIBS; then
   AC_MSG_ERROR([You can't disable building static AND shared libraries!])
 fi
 
@@ -1786,7 +1784,7 @@
 
   ## Disable dynamic linking if capability is not present.
   if $dlopen_api || $shl_load_api || $loadlibrary_api || $dyld_api; then
-    true
+    :  # some form of dynamic linking present
   else
     ENABLE_DYNAMIC_LINKING=false
   fi