diff aclocal.m4 @ 2831:19c45d29f177

[project @ 1997-03-26 04:17:16 by jwe]
author jwe
date Wed, 26 Mar 1997 04:18:15 +0000
parents d45d48b3dcde
children 8b262e771614
line wrap: on
line diff
--- a/aclocal.m4	Wed Mar 26 00:13:00 1997 +0000
+++ b/aclocal.m4	Wed Mar 26 04:18:15 1997 +0000
@@ -59,91 +59,6 @@
   fi
 fi])
 dnl
-dnl
-dnl See what libraries are used by the C++ compiler.  Need this for
-dnl dynamic linking.
-dnl
-dnl Write a minimal program and compile it with -v.  I don't know what
-dnl to do if your compiler doesn't have -v...
-dnl
-dnl OCTAVE_CXXLIBS()
-AC_DEFUN(OCTAVE_CXXLIBS,
-[AC_REQUIRE([AC_PROG_CXXCPP])
-AC_REQUIRE([AC_PROG_CXX])
-AC_MSG_CHECKING([for C++ libraries])
-AC_CACHE_VAL(octave_cv_cxxlibs,
-[AC_LANG_SAVE
-AC_LANG_CPLUSPLUS
-XCXXFLAGS="$CXXFLAGS"
-CXXFLAGS="$XCXXFLAGS -v"
-export CXXFLAGS
-dnl
-dnl This may be too tricky and break with future autoconf releases,
-dnl but it works with version 2.3, even with the Ultrix /bin/sh.
-dnl
-dnl I don't think that stripping commas out of this will ever hurt.
-dnl
-coutput=`( AC_TRY_LINK([], [], []) ) AC_FD_CC>&1 | sed 's/,/ /g'`
-CXXFLAGS="$XCXXFLAGS"
-AC_LANG_RESTORE
-changequote(, )dnl
-dnl
-octave_cv_cxxlibs=
-lflags=
-want_arg=
-dnl
-for arg in $coutput; do
-  if test x$want_arg = x; then
-    want_arg=
-    case $arg in
-      /*.a)
-        exists=false
-        for f in $lflags; do
-          if test x$arg = x$f; then
-            exists=true
-          fi
-        done
-	if $exists; then
-	  arg=
-        else
-          lflags="$lflags $arg"
-	fi
-      ;;
-      -[LR]*)
-        exists=false
-        for f in $lflags; do
-          if test x$arg = x$f; then
-            exists=true
-          fi
-        done
-      ;;
-      -l*)
-	if test x$arg = x-lang-c++; then
-	  arg=
-        else
-          lflags="$lflags $arg"
-	fi
-      ;;
-      -u)
-        want_arg=$arg
-      ;;
-      *)
-        arg=
-      ;;
-    esac
-  else
-    want_arg=
-  fi
-  if test x$arg != x; then
-    octave_cv_cxxlibs="$octave_cv_cxxlibs $arg"
-  fi
-done
-dnl
-changequote([, ])])
-AC_MSG_RESULT([$octave_cv_cxxlibs])
-CXXLIBS="$octave_cv_cxxlibs"
-AC_SUBST(CXXLIBS)])
-dnl
 dnl See what libraries are used by the Fortran compiler.
 dnl
 dnl Write a minimal program and compile it with -v.  I don't know what