comparison configure.in @ 2064:424b95481a85

[project @ 1996-04-07 22:25:33 by jwe]
author jwe
date Sun, 07 Apr 1996 22:30:30 +0000
parents 219cf611ff70
children 19ba1a7dcfbb
comparison
equal deleted inserted replaced
2063:219cf611ff70 2064:424b95481a85
18 ### 18 ###
19 ### You should have received a copy of the GNU General Public License 19 ### You should have received a copy of the GNU General Public License
20 ### along with Octave; see the file COPYING. If not, write to the Free 20 ### along with Octave; see the file COPYING. If not, write to the Free
21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 22
23 AC_REVISION($Revision: 1.190 $) 23 AC_REVISION($Revision: 1.192 $)
24 AC_PREREQ(2.9) 24 AC_PREREQ(2.9)
25 AC_INIT(src/octave.cc) 25 AC_INIT(src/octave.cc)
26 AC_CONFIG_HEADER(config.h) 26 AC_CONFIG_HEADER(config.h)
27 27
28 AC_DEFINE(OCTAVE_SOURCE, 1) 28 AC_DEFINE(OCTAVE_SOURCE, 1)
676 AC_CHECK_FUNCS(sigaction sigprocmask sigpending sigsuspend) 676 AC_CHECK_FUNCS(sigaction sigprocmask sigpending sigsuspend)
677 677
678 OCTAVE_SMART_PUTENV 678 OCTAVE_SMART_PUTENV
679 OCTAVE_PROGRAM_INVOCATION_NAME 679 OCTAVE_PROGRAM_INVOCATION_NAME
680 680
681 DLFCN_LIB= 681 LIBDLFCN=
682 DLFCN_INCLUDE= 682 DLFCN_INCFLAGS=
683 if test "$WITH_DL" = yes || test "$WITH_DL" = maybe; then 683 if test "$WITH_DL" = yes || test "$WITH_DL" = maybe; then
684 case "$canonical_host_type" in 684 case "$canonical_host_type" in
685 rs6000-ibm-aix* | powerpc-ibm-aix*) 685 rs6000-ibm-aix* | powerpc-ibm-aix*)
686 DLFCN_LIB='$TOPDIR/dlfcn/dlfcn.a' 686 LIBDLFCN=-ldlfcn
687 DLFCN_INCLUDE='-L$top_srcdir/dlfcn -L$TOPDIR/dlfcn' 687 DLFCN_INCFLAGS='-I$(top_srcdir)/dlfcn -I$(TOPDIR)/dlfcn'
688 WITH_DL=true 688 WITH_DL=true
689 ;; 689 ;;
690 *) 690 *)
691 AC_CHECK_LIB(dl, dlopen) 691 AC_CHECK_LIB(dl, dlopen)
692 AC_CHECK_FUNCS(dlopen dlsym dlerror dlclose) 692 AC_CHECK_FUNCS(dlopen dlsym dlerror dlclose)
708 fi 708 fi
709 else 709 else
710 WITH_DL=false 710 WITH_DL=false
711 fi 711 fi
712 AC_SUBST(WITH_DL) 712 AC_SUBST(WITH_DL)
713 AC_SUBST(DLFCN_LIB) 713 AC_SUBST(LIBDLFCN)
714 AC_SUBST(DLFCN_INCLUDE) 714 AC_SUBST(DLFCN_INCFLAGS)
715 715
716 if test "$WITH_SHL" = yes || test "$WITH_SHL" = maybe; then 716 if test "$WITH_SHL" = yes || test "$WITH_SHL" = maybe; then
717 AC_CHECK_LIB(dld, shl_load) 717 AC_CHECK_LIB(dld, shl_load)
718 AC_CHECK_FUNCS(shl_load shl_findsym) 718 AC_CHECK_FUNCS(shl_load shl_findsym)
719 if test "$ac_cv_func_shl_load" = yes \ 719 if test "$ac_cv_func_shl_load" = yes \
1014 1014
1015 export CC 1015 export CC
1016 export CXX 1016 export CXX
1017 export F77 1017 export F77
1018 1018
1019 AC_CONFIG_SUBDIRS(glob kpathsea scripts $INFO_DIR $PLPLOT_DIR 1019 AC_CONFIG_SUBDIRS(glob kpathsea scripts $INFO_DIR $PLPLOT_DIR $READLINE_DIR)
1020 $READLINE_DIR $DLFCN_DIR)
1021 1020
1022 ### Do the substitutions in all the Makefiles. 1021 ### Do the substitutions in all the Makefiles.
1023 1022
1024 AC_OUTPUT(Makefile octMakefile Makeconf test/Makefile 1023 AC_OUTPUT(Makefile octMakefile Makeconf test/Makefile dlfcn/Makefile
1025 doc/Makefile doc/faq/Makefile doc/interpreter/Makefile 1024 doc/Makefile doc/faq/Makefile doc/interpreter/Makefile
1026 doc/liboctave/Makefile doc/refcard/Makefile 1025 doc/liboctave/Makefile doc/refcard/Makefile
1027 liboctave/Makefile src/Makefile src/mk-oct-links 1026 liboctave/Makefile src/Makefile src/mk-oct-links
1028 libcruft/Makefile libcruft/Makerules libcruft/blas/Makefile 1027 libcruft/Makefile libcruft/Makerules libcruft/blas/Makefile
1029 libcruft/balgen/Makefile libcruft/dassl/Makefile 1028 libcruft/balgen/Makefile libcruft/dassl/Makefile