From 0497198dfd13594a027a3c0e80363eed6858e4b8 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Mon, 27 Oct 2008 20:08:47 +1100 Subject: [PATCH] M4/octave.m4 : Remove cruft. --- M4/octave.m4 | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/M4/octave.m4 b/M4/octave.m4 index f889723c..bfde98be 100644 --- a/M4/octave.m4 +++ b/M4/octave.m4 @@ -116,28 +116,6 @@ if test "x$prog_concat" = "xyesyesyes" ; then OCTAVE_DEST_ODIR=`$OCTAVE_CONFIG --oct-site-dir | sed 's%^/usr%${prefix}%'` OCTAVE_DEST_MDIR=`$OCTAVE_CONFIG --m-site-dir | sed 's%^/usr%${prefix}%'` - AC_MSG_RESULT([retrieving compile and link flags from $MKOCTFILE]) - - OCT_CXXFLAGS=`$MKOCTFILE -p ALL_CXXFLAGS` - OCT_CXXFLAGS="$OCT_CXXFLAGS `$MKOCTFILE -p FPICFLAG`" - OCT_LIB_DIR=`$MKOCTFILE -p LFLAGS` - - dnl Pinched from mkoctfile. - dnl - dnl LINK_DEPS="$LFLAGS $OCTAVE_LIBS $LDFLAGS $BLAS_LIBS $FFTW_LIBS $LIBS $FLIBS" - dnl cmd="$DL_LD $DL_LDFLAGS $pass_on_options -o $octfile $objfiles $ldflags $LINK_DEPS" - - - OCT_LIBS=`$MKOCTFILE -p LFLAGS` - OCT_LIBS="$OCT_LIBS `$MKOCTFILE -p OCTAVE_LIBS`" - OCT_LIBS="$OCT_LIBS `$MKOCTFILE -p LDFLAGS`" - OCT_LIBS="$OCT_LIBS `$MKOCTFILE -p BLAS_LIBS`" - OCT_LIBS="$OCT_LIBS `$MKOCTFILE -p FFTW_LIBS`" - OCT_LIBS="$OCT_LIBS `$MKOCTFILE -p LIBS`" - OCT_LIBS="$OCT_LIBS `$MKOCTFILE -p FLIBS`" - - OCT_LIBS="`$MKOCTFILE -p DL_LDFLAGS` $OCT_LIBS" - OCTAVE_BUILD=yes AC_MSG_RESULT([building octave libsndfile module... $OCTAVE_BUILD]) fi @@ -147,10 +125,8 @@ if test "x$prog_concat" = "xyesyesyes" ; then AC_SUBST(OCTAVE_DEST_ODIR) AC_SUBST(OCTAVE_DEST_MDIR) -AC_SUBST(OCT_CXXFLAGS) -AC_SUBST(OCT_LIB_DIR) -AC_SUBST(OCT_LIBS) +AC_SUBST(MKOCTFILE) -AM_CONDITIONAL(BUILD_OCTAVE_MOD, test -n "$OCT_CXXFLAGS") +AM_CONDITIONAL(BUILD_OCTAVE_MOD, test -n "$MKOCTFILE") ])# AC_OCTAVE_BUILD