From dafeac5c4020dd2aede162ed780eb7093afaa413 Mon Sep 17 00:00:00 2001 From: axel Date: Tue, 10 Oct 2006 06:12:30 +1000 Subject: Fix compilation issues in xdg library caused missing headers. Thanks to Jamessan for the report. darcs-hash:20061009201230-ac50b-4b5c183fbd88ef45a0ededdc3eea79191951fb5f.gz --- Makefile.in | 6 +++--- configure.ac | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 725bf89c..316202d0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -49,9 +49,9 @@ prefix = @prefix@ optbindirs = @optbindirs@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -MACROS=-DLOCALEDIR=\"$(localedir)\" -DPREFIX=L\"$(prefix)\" -DDATADIR=L\"$(datadir)\" -DSYSCONFDIR=L\"$(sysconfdir)\" -CFLAGS=@CFLAGS@ $(MACROS) -CPPFLAGS=@CPPFLAGS@ +MACROS=-DLOCALEDIR=\"$(localedir)\" -DPREFIX=L\"$(prefix)\" -DDATADIR=L\"$(datadir)\" -DSYSCONFDIR=L\"$(sysconfdir)\" -DHAVE_CONFIG_H +CFLAGS=@CFLAGS@ $(MACROS) +CPPFLAGS=@CPPFLAGS@ -I. LDFLAGS= @LIBS@ @LDFLAGS@ diff --git a/configure.ac b/configure.ac index 474fceae..ba21a90d 100644 --- a/configure.ac +++ b/configure.ac @@ -433,7 +433,7 @@ for i in "" "-D_POSIX_C_SOURCE=200112L" "-D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=2 local_cv_use__posix_c_source=yes, local_cv_use__posix_c_source=no, ) - + if test x$local_cv_use__posix_c_source = xyes; then AC_MSG_RESULT( yes ) local_found_posix_switch=yes -- cgit v1.2.3