Skip to content
Snippets Groups Projects
Commit 2266d553 authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

Fix deprecated AC_DEFINE use and remove acconfig.h as it's deprecated with automake 2.5x

(Old svn revision: 10417)
parent a133fb52
No related branches found
No related tags found
No related merge requests found
......@@ -98,8 +98,8 @@ RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
install-exec-recursive installdirs-recursive install-recursive \
uninstall-recursive check-recursive installcheck-recursive
DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
Makefile.in NEWS TODO acconfig.h aclocal.m4 compile config.h.in \
configure configure.in depcomp install-sh missing mkinstalldirs \
Makefile.in NEWS TODO aclocal.m4 compile config.h.in configure \
configure.in depcomp install-sh missing mkinstalldirs \
xfwm4.spec.in
DIST_SUBDIRS = $(SUBDIRS)
all: config.h
......@@ -130,7 +130,7 @@ stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h1
cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h
$(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOHEADER)
touch $(srcdir)/config.h.in
......
#undef DEBUG
/* config.h.in. Generated automatically from configure.in by autoheader. */
/* config.h.in. Generated from configure.in by autoheader. */
/* "debug" */
#undef DEBUG
/* Define if you have the `X11' library (-lX11). */
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `X11' library (-lX11). */
#undef HAVE_LIBX11
/* Define if you have the `Xext' library (-lXext). */
/* Define to 1 if you have the `Xext' library (-lXext). */
#undef HAVE_LIBXEXT
/* Define if you have the `Xpm' library (-lXpm). */
/* Define to 1 if you have the `Xpm' library (-lXpm). */
#undef HAVE_LIBXPM
/* Define if you have the `malloc' function. */
/* Define to 1 if you have the `malloc' function. */
#undef HAVE_MALLOC
/* Define if you have the `setlocale' function. */
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the `setlocale' function. */
#undef HAVE_SETLOCALE
/* Define if you have the <stdlib.h> header file. */
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define if you have the `strchr' function. */
/* Define to 1 if you have the `strchr' function. */
#undef HAVE_STRCHR
/* Define if you have the `strdup' function. */
/* Define to 1 if you have the `strdup' function. */
#undef HAVE_STRDUP
/* Define if you have the <string.h> header file. */
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define if you have the `strrchr' function. */
/* Define to 1 if you have the `strrchr' function. */
#undef HAVE_STRRCHR
/* Define if you have the `strstr' function. */
/* Define to 1 if you have the `strstr' function. */
#undef HAVE_STRSTR
/* Define if you have the <unistd.h> header file. */
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Name of package */
#undef PACKAGE
/* Define if you have the ANSI C header files. */
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION
/* Define if the X Window System is missing or not being used. */
/* Define to 1 if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING
/* Define to empty if `const' does not conform to ANSI C. */
......
This diff is collapsed.
AC_INIT(src/main.c)
AC_PREREQ(2.52)
VERSION=`date +%y%m%d`
AM_INIT_AUTOMAKE(xfwm4, $VERSION)
......@@ -24,7 +26,7 @@ AC_CHECK_LIB(Xpm, main,, AC_MSG_ERROR([libXpm is missing from your system: Make
AC_CHECK_FUNCS(malloc setlocale strchr strdup strrchr strstr)
AC_ARG_ENABLE(debug, [ --enable-debug use this option if you want to debug xfwm4], [ AC_DEFINE(DEBUG, 1) ],)
AC_ARG_ENABLE(debug, [ --enable-debug use this option if you want to debug xfwm4], [ AC_DEFINE(DEBUG, 1, "debug") ],)
## Versions of dependencies
GLIB_REQUIRED_VERSION=2.0.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment