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

Comparing rxvt-unicode/configure.ac (file contents):
Revision 1.87 by ayin, Mon Dec 10 19:17:29 2007 UTC vs.
Revision 1.89 by ayin, Mon Dec 10 23:36:05 2007 UTC

15DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 15DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
16dnl LIBVERSION=`sed -n -e 's/^.*[ \t]LIBVERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 16dnl LIBVERSION=`sed -n -e 's/^.*[ \t]LIBVERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
17changequote([, ])dnl 17changequote([, ])dnl
18AC_SUBST(VERSION)dnl 18AC_SUBST(VERSION)dnl
19AC_SUBST(DATE)dnl 19AC_SUBST(DATE)dnl
20AC_SUBST(LSMDATE)dnl
21AC_SUBST(LIBVERSION)dnl 20dnl AC_SUBST(LIBVERSION)dnl
22 21
23echo "" 22echo ""
24echo "configuring for rxvt $VERSION" 23echo "configuring for rxvt $VERSION"
25echo "" 24echo ""
26 25
27orig_CXXFLAGS="$CXXFLAGS" 26orig_CXXFLAGS="$CXXFLAGS"
28 27
29dnl# Checks for programs. 28dnl# Checks for programs.
30dnl AC_MAKE_SET
31
32AC_PROG_CC 29AC_PROG_CC
33AC_PROG_CXX 30AC_PROG_CXX
34AC_PROG_CPP 31AC_PROG_CPP
35AC_PROG_INSTALL 32AC_PROG_INSTALL
36 33
123 120
124dnl# -------------------------------------------------------------------------- 121dnl# --------------------------------------------------------------------------
125dnl# CHECKING COMMAND LINE OPTIONS 122dnl# CHECKING COMMAND LINE OPTIONS
126dnl# -------------------------------------------------------------------------- 123dnl# --------------------------------------------------------------------------
127 124
128if test "x$enable_shared" = xyes; then 125dnl if test "x$enable_shared" = xyes; then
129 AC_DEFINE(LIBRXVT, 1, Build shared library version - specify via configure only) 126dnl AC_DEFINE(LIBRXVT, 1, Build shared library version - specify via configure only)
130 INSTALL_LIBRXVT=yes 127dnl INSTALL_LIBRXVT=yes
131fi 128dnl fi
132AC_SUBST(INSTALL_LIBRXVT) 129dnl AC_SUBST(INSTALL_LIBRXVT)
133 130
134AC_ARG_ENABLE(everything, 131AC_ARG_ENABLE(everything,
135 [ --enable-everything enable standard non-multichoice features 132 [ --enable-everything enable standard non-multichoice features
136 NOTE: this option is order dependent], 133 NOTE: this option is order dependent],
137 [ 134 [
482fi 479fi
483 480
484dnl# -------------------------------------------------------------------------- 481dnl# --------------------------------------------------------------------------
485dnl# CHECKING FOR HEADER FILES 482dnl# CHECKING FOR HEADER FILES
486dnl# -------------------------------------------------------------------------- 483dnl# --------------------------------------------------------------------------
487AC_HEADER_SYS_WAIT
488AC_CHECK_HEADERS( \ 484AC_CHECK_HEADERS( \
489 assert.h \ 485 assert.h \
490 fcntl.h \ 486 fcntl.h \
491 stdarg.h \ 487 stdarg.h \
492 stdlib.h \ 488 stdlib.h \
503 wchar.h \ 499 wchar.h \
504 cwchar \ 500 cwchar \
505 clocale \ 501 clocale \
506) 502)
507 503
508AC_HEADER_TIME
509
510dnl# check to allow both <termios.h> and <sys/ioctl.h> 504dnl# check to allow both <termios.h> and <sys/ioctl.h>
511AC_CACHE_CHECK(whether termios.h and sys/ioctl.h may both be included, rxvt_cv_header_sysioctl, 505AC_CACHE_CHECK(whether termios.h and sys/ioctl.h may both be included, rxvt_cv_header_sysioctl,
512[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h> 506[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
513#include <sys/ioctl.h> 507#include <sys/ioctl.h>
514#ifdef HAVE_TERMIOS_H 508#ifdef HAVE_TERMIOS_H
533 [rxvt_xlib_illegal_access=yes],[rxvt_xlib_illegal_access=no] 527 [rxvt_xlib_illegal_access=yes],[rxvt_xlib_illegal_access=no]
534)]) 528)])
535if test x$rxvt_xlib_illegal_access = xyes; then 529if test x$rxvt_xlib_illegal_access = xyes; then
536 AC_DEFINE(XLIB_ILLEGAL_ACCESS, 1, Define ONLY iff Xlib.h supports it) 530 AC_DEFINE(XLIB_ILLEGAL_ACCESS, 1, Define ONLY iff Xlib.h supports it)
537fi 531fi
538
539AC_C_CONST
540AC_C_INLINE
541
542dnl> AC_HEADER_STDC dnl# skip this test, Sun always fails anyhow.
543 532
544dnl# -------------------------------------------------------------------------- 533dnl# --------------------------------------------------------------------------
545dnl# CHECKING FOR MISSING TYPEDEFS 534dnl# CHECKING FOR MISSING TYPEDEFS
546dnl# -------------------------------------------------------------------------- 535dnl# --------------------------------------------------------------------------
547dnl# Missing typedefs and replacements 536dnl# Missing typedefs and replacements
631AC_SUBST(rxvt_u_intp_define) 620AC_SUBST(rxvt_u_intp_define)
632 621
633dnl# -------------------------------------------------------------------------- 622dnl# --------------------------------------------------------------------------
634dnl# CHECKING FOR LIBRARY FUNCTIONS 623dnl# CHECKING FOR LIBRARY FUNCTIONS
635dnl# -------------------------------------------------------------------------- 624dnl# --------------------------------------------------------------------------
636AC_TYPE_SIGNAL
637dnl> AC_FUNC_VPRINTF
638
639AC_CHECK_FUNCS(unsetenv) 625AC_CHECK_FUNCS(unsetenv)
640 626
641UTMP_CHECK 627UTMP_CHECK
642 628
643dnl# -------------------------------------------------------------------------- 629dnl# --------------------------------------------------------------------------

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines