Mercurial > hg > octave-nkf
comparison configure.in @ 843:1e03c0b3b9ac
[project @ 1994-10-20 03:43:03 by jwe]
author | jwe |
---|---|
date | Thu, 20 Oct 1994 03:43:03 +0000 |
parents | 2dffe93955e9 |
children | 71e69f1b5be0 |
comparison
equal
deleted
inserted
replaced
842:2dffe93955e9 | 843:1e03c0b3b9ac |
---|---|
19 dnl | 19 dnl |
20 dnl You should have received a copy of the GNU General Public License | 20 dnl You should have received a copy of the GNU General Public License |
21 dnl along with Octave; see the file COPYING. If not, write to the Free | 21 dnl along with Octave; see the file COPYING. If not, write to the Free |
22 dnl Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 22 dnl Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
23 dnl | 23 dnl |
24 AC_REVISION($Revision: 1.67 $)dnl | 24 AC_REVISION($Revision: 1.68 $)dnl |
25 AC_PREREQ(1.122) | 25 AC_PREREQ(1.122) |
26 AC_INIT(src/octave.cc) | 26 AC_INIT(src/octave.cc) |
27 AC_CONFIG_HEADER(config.h kpathsea/c-auto.h) | 27 AC_CONFIG_HEADER(config.h kpathsea/c-auto.h) |
28 dnl | 28 dnl |
29 AC_DEFINE(OCTAVE_SOURCE, 1)dnl | 29 AC_DEFINE(OCTAVE_SOURCE, 1)dnl |
458 dnl Extract libraries and directories from FLIBS and CXXLIBS. | 458 dnl Extract libraries and directories from FLIBS and CXXLIBS. |
459 dnl | 459 dnl |
460 dnl Leave only libraries, with -lfoo converted to libfoo.a: | 460 dnl Leave only libraries, with -lfoo converted to libfoo.a: |
461 dnl | 461 dnl |
462 changequote(,)dnl | 462 changequote(,)dnl |
463 FLIB_LIST=`echo " $FLIBS" | sed -e 's/-Xlinker *[^ ]*//g' \ | 463 FLIB_LIST=`echo " $FLIBS " | sed -e 's/ -Xlinker *[^ ]*/ /g' \ |
464 -e 's/ -L *[^ ]*/ /g' \ | 464 -e 's/ -L *[^ ]*/ /g' \ |
465 -e 's/ -l *\([^ ]*\)/ lib\1.a/g' -e 's/-u *[^ ]*//g' \ | 465 -e 's/ -l *\([^ ]*\)/ lib\1.a/g' -e 's/ -u *[^ ]*/ /g' \ |
466 -e 's/^ *//' -e 's/ *$//' -e 's/ */:/g'` | 466 -e 's/^ *//' -e 's/ *$//' -e 's/ */:/g'` |
467 dnl | 467 dnl |
468 CXXLIB_LIST=`echo " $CXXLIBS" | sed -e 's/-Xlinker *[^ ]*//g' \ | 468 CXXLIB_LIST=`echo " $CXXLIBS " | sed -e 's/ -Xlinker *[^ ]*/ /g' \ |
469 -e 's/ -L *[^ ]*/ /g' \ | 469 -e 's/ -L *[^ ]*/ /g' \ |
470 -e 's/ -l *\([^ ]*\)/ lib\1.a/g' -e 's/-u *[^ ]*//g' \ | 470 -e 's/ -l *\([^ ]*\)/ lib\1.a/g' -e 's/ -u *[^ ]*/ /g' \ |
471 -e 's/^ *//' -e 's/ *$//' -e 's/ */:/g'` | 471 -e 's/^ *//' -e 's/ *$//' -e 's/ */:/g'` |
472 dnl | 472 dnl |
473 dnl Leave only directories where libraries might be found: | 473 dnl Leave only directories where libraries might be found: |
474 dnl | 474 dnl |
475 FLIB_PATH=`echo " $FLIBS" | sed -e 's/-Xlinker *[^ ]*//g' \ | 475 FLIB_PATH=`echo " $FLIBS " | sed \ |
476 -e 's/ -L *\([^ ]*\)/ \1/g' -e 's, /.*\.a , ,g' \ | 476 -e 's/ / /g' -e 's/ -Xlinker *[^ ]*/ /g' \ |
477 -e 's/ -l *[^ ]*/ /g' -e 's/-u *[^ ]*//g' -e 's/^ *//' \ | 477 -e 's/ -L *\([^ ]*\)/ \1/g' -e 's, /[^ ]*\.a , ,g' \ |
478 -e 's/ -l *[^ ]*/ /g' -e 's/ -u *[^ ]*/ /g' -e 's/^ *//' \ | |
478 -e 's/ *$//' -e 's/ */:/g'` | 479 -e 's/ *$//' -e 's/ */:/g'` |
479 dnl | 480 dnl |
480 CXXLIB_PATH=`echo "$CXXLIBS" | sed -e 's/-Xlinker *[^ ]*//g' \ | 481 CXXLIB_PATH=`echo " $CXXLIBS " | sed -e 's/ -Xlinker *[^ ]*/ /g' \ |
481 -e 's/ -L *\([^ ]*\)/ \1/g' -e 's, /.*\.a , ,g' \ | 482 -e 's/ -L *\([^ ]*\)/ \1/g' -e 's, /[^ ]*\.a , ,g' \ |
482 -e 's/ -l *[^ ]*/ /g' -e 's/-u *[^ ]*//g' -e 's/^ *//' \ | 483 -e 's/ / /g' -e 's/ -Xlinker *[^ ]*/ /g' \ |
484 -e 's/ -l *[^ ]*/ /g' -e 's/ -u *[^ ]*/ /g' -e 's/^ *//' \ | |
483 -e 's/ *$//' -e 's/ */:/g'` | 485 -e 's/ *$//' -e 's/ */:/g'` |
484 changequote([,])dnl | 486 changequote([,])dnl |
485 dnl | 487 dnl |
486 AC_MSG_RESULT([defining FLIB_LIST to be $FLIB_LIST]) | 488 AC_MSG_RESULT([defining FLIB_LIST to be $FLIB_LIST]) |
487 AC_MSG_RESULT([defining FLIB_PATH to be $FLIB_PATH]) | 489 AC_MSG_RESULT([defining FLIB_PATH to be $FLIB_PATH]) |