diff options
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | configure.ac | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 007c5de1..0f7a04ea 100644 --- a/Makefile.am +++ b/Makefile.am @@ -41,9 +41,9 @@ endif # Set flags for Solaris. if IS_SUNOS if IS_GCC -AM_CPPFLAGS += -D_XPG6 -D_POSIX_PTHREAD_SEMANTICS +AM_CPPFLAGS += -D_XPG6 else -AM_CPPFLAGS += -D_XPG4_2 -D_POSIX_PTHREAD_SEMANTICS +AM_CPPFLAGS += -D_XPG4_2 endif endif diff --git a/configure.ac b/configure.ac index ad20b5fd..11011e7c 100644 --- a/configure.ac +++ b/configure.ac @@ -23,6 +23,7 @@ SAVED_LDFLAGS="$LDFLAGS" # Set up the compiler in two different ways and say yes we may want to install. AC_PROG_CC AM_PROG_CC_C_O +AC_PROG_CC_C99 AC_PROG_CPP AC_PROG_EGREP AC_PROG_INSTALL |