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.154 by sf-exg, Tue Jun 16 12:00:07 2015 UTC vs.
Revision 1.157 by sf-exg, Fri Jul 23 19:18:52 2021 UTC

1dnl# 1dnl#
2dnl# Process this file with autoconf to produce a configure script. 2dnl# Process this file with autoconf to produce a configure script.
3dnl# 3dnl#
4 4
5AC_INIT 5AC_INIT
6AC_PREREQ(2.50) 6AC_PREREQ(2.71)
7AC_CONFIG_SRCDIR([src/feature.h]) 7AC_CONFIG_SRCDIR([src/feature.h])
8AC_CONFIG_HEADER(config.h:config.h.in) 8AC_CONFIG_HEADERS(config.h:config.h.in)
9 9
10AC_CANONICAL_HOST 10AC_CANONICAL_HOST
11 11
12dnl RXVT version 12dnl RXVT version
13changequote(, )dnl 13changequote(, )dnl
26dnl# Checks for programs. 26dnl# Checks for programs.
27AC_PROG_CC 27AC_PROG_CC
28AC_PROG_CXX 28AC_PROG_CXX
29AC_PROG_INSTALL 29AC_PROG_INSTALL
30 30
31AC_AIX 31AC_USE_SYSTEM_EXTENSIONS
32AC_GNU_SOURCE
33AC_ISC_POSIX
34AC_LANG(C++) 32AC_LANG(C++)
33
34if test "$ac_prog_cxx_stdcxx" != cxx11; then
35 AC_MSG_ERROR([the compiler does not support C++11])
36fi
35 37
36LINKER="$CXX" 38LINKER="$CXX"
37dnl check whether we can link with gcc -lsupc++ 39dnl check whether we can link with gcc -lsupc++
38if test x$GCC = xyes && test x$GXX = xyes; then 40if test x$GCC = xyes && test x$GXX = xyes; then
39 dnl FreeBSD (at least up to 5.3) has a broken GCC, workaround it 41 dnl FreeBSD (at least up to 5.3) has a broken GCC, workaround it
432 434
433AC_PATH_XTRA 435AC_PATH_XTRA
434 436
435AC_PATH_TOOL(PKG_CONFIG, pkg-config, no) 437AC_PATH_TOOL(PKG_CONFIG, pkg-config, no)
436 438
439RXVT_CHECK_MODULES([PTYTTY], [libptytty], [:], [
440 AC_MSG_ERROR([unable to find libptytty])
441])
442
443AC_SUBST(PTYTTY_CFLAGS)
444AC_SUBST(PTYTTY_LIBS)
445
437image_lib=none 446image_lib=none
438 447
439PIXBUF_CFLAGS= 448PIXBUF_CFLAGS=
440PIXBUF_LIBS= 449PIXBUF_LIBS=
441 450
510 519
511dnl# -------------------------------------------------------------------------- 520dnl# --------------------------------------------------------------------------
512dnl# CHECKING FOR LIBRARY FUNCTIONS 521dnl# CHECKING FOR LIBRARY FUNCTIONS
513dnl# -------------------------------------------------------------------------- 522dnl# --------------------------------------------------------------------------
514AC_CHECK_FUNCS(unsetenv) 523AC_CHECK_FUNCS(unsetenv)
515
516UTMP_CHECK
517 524
518dnl# -------------------------------------------------------------------------- 525dnl# --------------------------------------------------------------------------
519 526
520dnl# -------------------------------------------------------------------------- 527dnl# --------------------------------------------------------------------------
521dnl# -------------------------------------------------------------------------- 528dnl# --------------------------------------------------------------------------
571[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]], [[nl_langinfo(CODESET);]])],[rxvt_cv_func_nl_langinfo=yes],[rxvt_cv_func_nl_langinfo=no])]) 578[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]], [[nl_langinfo(CODESET);]])],[rxvt_cv_func_nl_langinfo=yes],[rxvt_cv_func_nl_langinfo=no])])
572if test x$rxvt_cv_func_nl_langinfo = xyes; then 579if test x$rxvt_cv_func_nl_langinfo = xyes; then
573 AC_DEFINE(HAVE_NL_LANGINFO, 1, Define if nl_langinfo(CODESET) works) 580 AC_DEFINE(HAVE_NL_LANGINFO, 1, Define if nl_langinfo(CODESET) works)
574fi 581fi
575 582
576SCM_RIGHTS_CHECK
577
578PTY_CHECK
579
580TTY_GROUP_CHECK
581
582dnl# -------------------------------------------------------------------------- 583dnl# --------------------------------------------------------------------------
583dnl# now add and remove other stuff 584dnl# now add and remove other stuff
584dnl# -------------------------------------------------------------------------- 585dnl# --------------------------------------------------------------------------
585support_image=no 586support_image=no
586if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then 587if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines