mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-01 06:48:01 +02:00
Move RAWCPP macro to xorg-macros.m4 so other modules can use it Add check for whether or not RAWCPP needs -traditional instead of hardcoding it, so non-gcc cpp's can be used
This commit is contained in:
parent
5bb43de17d
commit
83406d69c6
2 changed files with 2 additions and 5 deletions
|
|
@ -17,9 +17,8 @@ AC_CONFIG_HEADER([include/X11/XlibConf.h])
|
|||
# Checks for programs.
|
||||
AC_PROG_LIBTOOL
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_PATH_PROGS(RAWCPP, [cpp], [$(CPP)],
|
||||
[$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib])
|
||||
|
||||
XORG_PROG_RAWCPP
|
||||
|
||||
# Checks for pkg-config packages
|
||||
PKG_CHECK_MODULES(BIGREQS, bigreqsproto)
|
||||
|
|
|
|||
|
|
@ -10,8 +10,6 @@ WCHAR32_FLAGS = -DWCHAR32=@WCHAR32@
|
|||
|
||||
CPP_FILES_FLAGS = $(WCHAR32_FLAGS)
|
||||
|
||||
RAWCPPFLAGS = -traditional
|
||||
|
||||
# Translate XCOMM into pound sign with sed, rather than passing -DXCOMM=XCOMM
|
||||
# to cpp, because that trick does not work on all ANSI C preprocessors.
|
||||
# Delete line numbers from the cpp output (-P is not portable, I guess).
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue