ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/autoconf/configure.in
(Generate patch)

Comparing rxvt-unicode/autoconf/configure.in (file contents):
Revision 1.44 by root, Tue Jan 11 00:54:57 2005 UTC vs.
Revision 1.47 by root, Tue Jan 18 01:31:45 2005 UTC

1dnl# -*- sh -*- 1dnl# -*- sh -*-
2dnl# 2dnl#
3dnl# Process this file with autoconf to produce a configure script. 3dnl# Process this file with autoconf to produce a configure script.
4dnl# 4dnl#
5orig_CXXFLAGS="$CXXFLAGS"
6
5AC_INIT 7AC_INIT
6AC_CONFIG_SRCDIR([src/feature.h]) 8AC_CONFIG_SRCDIR([src/feature.h])
7AC_CONFIG_AUX_DIR(autoconf) 9AC_CONFIG_AUX_DIR(autoconf)
8AC_CONFIG_HEADER(config.h:autoconf/config.h.in) 10AC_CONFIG_HEADER(config.h:autoconf/config.h.in)
9 11
32AC_PROG_CPP 34AC_PROG_CPP
33AC_PROG_INSTALL 35AC_PROG_INSTALL
34AC_PROG_AWK 36AC_PROG_AWK
35 37
36AC_LANG(C) 38AC_LANG(C)
39
40dnl# --------------------------------------------------------------------------
41dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure'
42dnl#
43if test -z "$orig_CXXFLAGS"; then
44 CXXFLAGS='-O'
45 if test x$GCC = xyes && test "x$GXX" = xyes; then
46 CXXFLAGS="-g -O3"
47 fi
48 CFLAGS="$CXXFLAGS"
49fi
37 50
38LINKER="$CXX" 51LINKER="$CXX"
39if test x$GCC = xyes && test x$GXX = xyes; then 52if test x$GCC = xyes && test x$GXX = xyes; then
40 AC_CHECK_LIB(supc++, main, [ 53 AC_CHECK_LIB(supc++, main, [
41 LINKER="$CC" 54 LINKER="$CC"
445 458
446dnl# -------------------------------------------------------------------------- 459dnl# --------------------------------------------------------------------------
447 460
448AC_DEFINE(PROTOTYPES, 1, Define if you need function prototypes) 461AC_DEFINE(PROTOTYPES, 1, Define if you need function prototypes)
449 462
450dnl# --------------------------------------------------------------------------
451dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure'
452dnl#
453if test -z "$CFLAGS"; then
454 if test -z "$CCOPTS"; then
455 CCOPTS='-O'
456dnl> if test "x$GCC" = xyes; then
457dnl> if test x$system = xLinux; then
458dnl> CCOPTS="$CCOPTS "'-O2 -fno-strength-reduce'
459dnl> fi
460dnl> fi
461 fi
462 CFLAGS="$CCOPTS"
463fi
464
465AC_PATH_PROG(MV, mv, mv) 463AC_PATH_PROG(MV, mv, mv)
466AC_PATH_PROG(RM, rm, rm) 464AC_PATH_PROG(RM, rm, rm)
467AC_PATH_PROG(CP, cp, cp) 465AC_PATH_PROG(CP, cp, cp)
468AC_PATH_PROG(LN, ln, ln) 466AC_PATH_PROG(LN, ln, ln)
469AC_PATH_PROG(SED, sed, sed) 467AC_PATH_PROG(SED, sed, sed)
520 sys/stropts.h \ 518 sys/stropts.h \
521 sys/time.h \ 519 sys/time.h \
522 utmp.h \ 520 utmp.h \
523 utmpx.h \ 521 utmpx.h \
524 stdint.h \ 522 stdint.h \
523 pty.h \
525) 524)
526 525
527AC_HEADER_TIME 526AC_HEADER_TIME
528 527
529dnl# check to allow both <termios.h> and <sys/ioctl.h> 528dnl# check to allow both <termios.h> and <sys/ioctl.h>
1364Makefile \ 1363Makefile \
1365doc/Makefile \ 1364doc/Makefile \
1366src/Makefile \ 1365src/Makefile \
1367src/test/Makefile \ 1366src/test/Makefile \
1368src/rxvtlib.h \ 1367src/rxvtlib.h \
1369W11/Makefile \
1370]) 1368])
1371AC_OUTPUT 1369AC_OUTPUT
1372 1370
1373echo "Configuration: 1371echo "Configuration:
1374 1372

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines