... and add -DHAVE_CONFIG_H to CPPFLAGS in config.make.in.
CC = @CC@
CFLAGS = @CFLAGS@
CC = @CC@
CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@ -DHAVE_CONFIG_H
LDFLAGS = @LDFLAGS@
LDLIBS = @LIBS@
LDFLAGS = @LDFLAGS@
LDLIBS = @LIBS@
* GNU General Public License for more details.
*/
* GNU General Public License for more details.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifndef TIG_VERSION
#define TIG_VERSION "unknown-version"
#endif
#ifndef TIG_VERSION
#define TIG_VERSION "unknown-version"
#endif
#if __GNUC__ >= 3
#define __NORETURN __attribute__((__noreturn__))
#else
#if __GNUC__ >= 3
#define __NORETURN __attribute__((__noreturn__))
#else