comparison configure.in @ 2592:0863d2cab514

[project @ 1996-12-14 04:39:00 by jwe]
author jwe
date Sat, 14 Dec 1996 04:39:00 +0000
parents 0f37e1edb234
children 389b1b5af266
comparison
equal deleted inserted replaced
2591:140fd45c1b84 2592:0863d2cab514
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 21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 ### 02111-1307, USA. 22 ### 02111-1307, USA.
23 23
24 AC_REVISION($Revision: 1.242 $) 24 AC_REVISION($Revision: 1.243 $)
25 AC_PREREQ(2.9) 25 AC_PREREQ(2.9)
26 AC_INIT(src/octave.cc) 26 AC_INIT(src/octave.cc)
27 AC_CONFIG_HEADER(config.h) 27 AC_CONFIG_HEADER(config.h)
28 28
29 AC_DEFINE(OCTAVE_SOURCE, 1) 29 AC_DEFINE(OCTAVE_SOURCE, 1)
398 CXXPICFLAG= 398 CXXPICFLAG=
399 FPICFLAG= 399 FPICFLAG=
400 DLFCN_DIR=dlfcn 400 DLFCN_DIR=dlfcn
401 ;; 401 ;;
402 hppa*-hp-hpux*) 402 hppa*-hp-hpux*)
403 FPICFLAG=+Z 403 if $use_g77; then
404 FPICFLAG=-fPIC
405 else
406 FPICFLAG=+Z
407 fi
404 SHLEXT=sl 408 SHLEXT=sl
405 RLD_FLAG='-Xlinker +b -Xlinker $(libdir)' 409 RLD_FLAG='-Xlinker +b -Xlinker $(libdir)'
406 ;; 410 ;;
407 *-sgi-*) 411 *-sgi-*)
408 FPICFLAG=-KPIC 412 FPICFLAG=-KPIC
874 AC_FUNC_CLOSEDIR_VOID 878 AC_FUNC_CLOSEDIR_VOID
875 879
876 OCTAVE_STRUCT_GR_PASSWD 880 OCTAVE_STRUCT_GR_PASSWD
877 881
878 TERMLIBS="" 882 TERMLIBS=""
879 for termlib in termcap terminfo ncurses curses termlib; do 883 for termlib in ncurses curses termcap terminfo termlib; do
880 AC_CHECK_LIB(${termlib}, tputs, [TERMLIBS="${TERMLIBS} -l${termlib}"]) 884 AC_CHECK_LIB(${termlib}, tputs, [TERMLIBS="${TERMLIBS} -l${termlib}"])
881 case "${TERMLIBS}" in 885 case "${TERMLIBS}" in
882 *-l${termlib}*) 886 *-l${termlib}*)
883 AC_MSG_RESULT([defining TERMLIBS to be $TERMLIBS]) 887 AC_MSG_RESULT([defining TERMLIBS to be $TERMLIBS])
884 break 888 break