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.6 by ayin, Tue Jan 17 22:08:08 2006 UTC vs.
Revision 1.8 by ayin, Wed Jan 18 11:28:42 2006 UTC

30 30
31AC_PROG_CC 31AC_PROG_CC
32AC_PROG_CXX 32AC_PROG_CXX
33AC_PROG_CPP 33AC_PROG_CPP
34AC_PROG_INSTALL 34AC_PROG_INSTALL
35AC_PROG_AWK
36 35
37AC_LANG(C) 36AC_LANG(C)
38 37
39dnl# -------------------------------------------------------------------------- 38dnl# --------------------------------------------------------------------------
40dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure' 39dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure'
478 AC_DEFINE_UNQUOTED(RXVT_TERMINFO, "$withval", Set TERMINFO value to the value given by configure) terminfo="$withval" 477 AC_DEFINE_UNQUOTED(RXVT_TERMINFO, "$withval", Set TERMINFO value to the value given by configure) terminfo="$withval"
479 fi]) 478 fi])
480 479
481dnl# -------------------------------------------------------------------------- 480dnl# --------------------------------------------------------------------------
482 481
483AC_DEFINE(PROTOTYPES, 1, Define if you need function prototypes)
484
485AC_PATH_PROG(MV, mv, mv) 482AC_PATH_PROG(MV, mv, mv)
486AC_PATH_PROG(RM, rm, rm) 483AC_PATH_PROG(RM, rm, rm)
487AC_PATH_PROG(CP, cp, cp) 484AC_PATH_PROG(CP, cp, cp)
488AC_PATH_PROG(LN, ln, ln) 485AC_PATH_PROG(LN, ln, ln)
489AC_PATH_PROG(SED, sed, sed) 486AC_PATH_PROG(SED, sed, sed)
490AC_PATH_PROG(ECHO, echo, echo) 487AC_PATH_PROG(ECHO, echo, echo)
491AC_PATH_PROG(CMP, cmp, cmp) 488AC_PATH_PROG(CMP, cmp, cmp)
492AC_PATH_PROG(TBL, tbl)
493AC_PATH_PROG(TIC, tic) 489AC_PATH_PROG(TIC, tic)
494 490
495dnl# need a neat way to detect SVR4 or its features 491dnl# need a neat way to detect SVR4 or its features
496dnl# in src/command.c we use these functions: 492dnl# in src/command.c we use these functions:
497dnl# grantpt(), unlockpt(), ptsname(), which are defined in <sys/ptms.h> 493dnl# grantpt(), unlockpt(), ptsname(), which are defined in <sys/ptms.h>
737 733
738dnl# -------------------------------------------- 734dnl# --------------------------------------------
739AC_CHECK_HEADER(utmp.h, 735AC_CHECK_HEADER(utmp.h,
740[AC_CACHE_CHECK([for struct utmp], rxvt_cv_struct_utmp, 736[AC_CACHE_CHECK([for struct utmp], rxvt_cv_struct_utmp,
741[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> 737[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
742#include <stdint.h>
743#include <utmp.h>]], [[struct utmp ut;]])],[rxvt_cv_struct_utmp=yes],[rxvt_cv_struct_utmp=no])]) 738#include <utmp.h>]], [[struct utmp ut;]])],[rxvt_cv_struct_utmp=yes],[rxvt_cv_struct_utmp=no])])
744if test x$rxvt_cv_struct_utmp = xyes; then 739if test x$rxvt_cv_struct_utmp = xyes; then
745 AC_DEFINE(HAVE_STRUCT_UTMP, 1, Define if utmp.h has struct utmp) 740 AC_DEFINE(HAVE_STRUCT_UTMP, 1, Define if utmp.h has struct utmp)
746fi 741fi
747] 742]

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines