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.5 by ayin, Tue Jan 17 21:31:24 2006 UTC vs.
Revision 1.8 by ayin, Wed Jan 18 11:28:42 2006 UTC

1dnl# -*- sh -*-
2dnl# 1dnl#
3dnl# Process this file with autoconf to produce a configure script. 2dnl# Process this file with autoconf to produce a configure script.
4dnl# 3dnl#
5 4
6AC_INIT 5AC_INIT
31 30
32AC_PROG_CC 31AC_PROG_CC
33AC_PROG_CXX 32AC_PROG_CXX
34AC_PROG_CPP 33AC_PROG_CPP
35AC_PROG_INSTALL 34AC_PROG_INSTALL
36AC_PROG_AWK
37 35
38AC_LANG(C) 36AC_LANG(C)
39 37
40dnl# -------------------------------------------------------------------------- 38dnl# --------------------------------------------------------------------------
41dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure' 39dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure'
479 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"
480 fi]) 478 fi])
481 479
482dnl# -------------------------------------------------------------------------- 480dnl# --------------------------------------------------------------------------
483 481
484AC_DEFINE(PROTOTYPES, 1, Define if you need function prototypes)
485
486AC_PATH_PROG(MV, mv, mv) 482AC_PATH_PROG(MV, mv, mv)
487AC_PATH_PROG(RM, rm, rm) 483AC_PATH_PROG(RM, rm, rm)
488AC_PATH_PROG(CP, cp, cp) 484AC_PATH_PROG(CP, cp, cp)
489AC_PATH_PROG(LN, ln, ln) 485AC_PATH_PROG(LN, ln, ln)
490AC_PATH_PROG(SED, sed, sed) 486AC_PATH_PROG(SED, sed, sed)
491AC_PATH_PROG(ECHO, echo, echo) 487AC_PATH_PROG(ECHO, echo, echo)
492AC_PATH_PROG(CMP, cmp, cmp) 488AC_PATH_PROG(CMP, cmp, cmp)
493AC_PATH_PROG(TBL, tbl)
494AC_PATH_PROG(TIC, tic) 489AC_PATH_PROG(TIC, tic)
495 490
496dnl# need a neat way to detect SVR4 or its features 491dnl# need a neat way to detect SVR4 or its features
497dnl# in src/command.c we use these functions: 492dnl# in src/command.c we use these functions:
498dnl# grantpt(), unlockpt(), ptsname(), which are defined in <sys/ptms.h> 493dnl# grantpt(), unlockpt(), ptsname(), which are defined in <sys/ptms.h>
738 733
739dnl# -------------------------------------------- 734dnl# --------------------------------------------
740AC_CHECK_HEADER(utmp.h, 735AC_CHECK_HEADER(utmp.h,
741[AC_CACHE_CHECK([for struct utmp], rxvt_cv_struct_utmp, 736[AC_CACHE_CHECK([for struct utmp], rxvt_cv_struct_utmp,
742[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> 737[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
743#include <stdint.h>
744#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])])
745if test x$rxvt_cv_struct_utmp = xyes; then 739if test x$rxvt_cv_struct_utmp = xyes; then
746 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)
747fi 741fi
748] 742]

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines