changeset 4201:6acaf43c1725

[project @ 2002-11-23 19:36:21 by jwe]
author jwe
date Sat, 23 Nov 2002 19:36:21 +0000
parents 1f04df06e1a6
children df4f83ee8ac3
files configure.in mkoctfile.in
diffstat 2 files changed, 10 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Fri Nov 22 16:25:49 2002 +0000
+++ b/configure.in	Sat Nov 23 19:36:21 2002 +0000
@@ -22,7 +22,7 @@
 ### 02111-1307, USA. 
 
 AC_INIT
-AC_REVISION($Revision: 1.395 $)
+AC_REVISION($Revision: 1.396 $)
 AC_PREREQ(2.52)
 AC_CONFIG_SRCDIR([src/octave.cc])
 AC_CONFIG_HEADER(config.h)
@@ -652,7 +652,7 @@
   ;;
   *-*-darwin*)
     SH_LDFLAGS='-bundle -bundle_loader $(TOPDIR)/src/octave'
-    MKOCTFILE_SH_LDFLAGS='-bundle -bundle_loader $BINDIR/octave-$VERSION$EXEEXT'
+    MKOCTFILE_SH_LDFLAGS='-bundle -bundle_loader $(bindir)/octave-$(version)$(EXEEXT)'
     CXXPICFLAG=
     CPICFLAG=
     FPICFLAG=
@@ -929,26 +929,26 @@
   ### Check for dyld first since OS X can have a non-standard libdl	
 
   AC_CHECK_HEADER(Mach-O/dyld.h)  
-  if test $ac_cv_header_Mach_O_dyld_h = yes; then
+  if test "$ac_cv_header_Mach_O_dyld_h" = yes; then
     dyld_api=true
   else 
     AC_CHECK_LIB(dld, shl_load)
     AC_CHECK_FUNCS(shl_load shl_findsym)
-    if test $ac_cv_func_shl_load = yes \
-      && test $ac_cv_func_shl_findsym = yes; then
+    if test "$ac_cv_func_shl_load" = yes \
+      && test "$ac_cv_func_shl_findsym" = yes; then
       shl_load_api=true
     else
       AC_CHECK_LIB(wsock32, LoadLibrary)
       AC_CHECK_FUNCS(LoadLibrary)
-      if test $ac_cv_func_loadlibrary = yes; then
+      if test "$ac_cv_func_loadlibrary" = yes; then
         loadlibrary_api=true
       else
         AC_CHECK_LIB(dl, dlopen)
         AC_CHECK_FUNCS(dlopen dlsym dlerror dlclose)
-        if test $ac_cv_func_dlclose = yes \
-          && test $ac_cv_func_dlerror = yes \
-          && test $ac_cv_func_dlopen = yes \
-          && test $ac_cv_func_dlsym = yes; then
+        if test "$ac_cv_func_dlclose" = yes \
+          && test "$ac_cv_func_dlerror" = yes \
+          && test "$ac_cv_func_dlopen" = yes \
+          && test "$ac_cv_func_dlsym" = yes; then
           dlopen_api=true
         else
 	  case "$canonical_host_type" in
--- a/mkoctfile.in	Fri Nov 22 16:25:49 2002 +0000
+++ b/mkoctfile.in	Sat Nov 23 19:36:21 2002 +0000
@@ -7,13 +7,6 @@
 
 set -e
 
-# These need to be set first, but you shouldn't change them unless
-# you are sure you know what you are doing.
-
-VERSION=%OCTAVE_CONF_VERSION%
-EXEEXT=%OCTAVE_CONF_EXEEXT%
-BINDIR=%OCTAVE_BINDIR%
-
 # Default values for these variables are filled in when Octave is
 # compiled.