1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

configure: add compiler checks, determine endianess, look for locale.h

This commit is contained in:
Jon Trulson 2019-10-26 16:04:27 -06:00
parent 61ab4a5b95
commit 63ba9bac39

View file

@ -152,6 +152,7 @@ AC_SUBST(LIBCSA, '$(top_builddir)/lib/csa/libcsa.la')
dnl set up come convenience replacements for global include dirs
AC_SUBST(DT_INCDIR, '-I$(top_builddir)/include/Dt')
AC_SUBST(DTI_INCDIR, '-I$(top_builddir)/include/DtI')
AC_SUBST(TT_INCDIR, '-I$(top_builddir)/include/Tt')
AC_SUBST(XM_INCDIR, '-I$(top_builddir)/include/Xm')
@ -189,7 +190,6 @@ AC_PROG_CXX
AC_PROG_CPP
AM_PROG_LIBTOOL
AC_PROG_YACC
AM_PROG_LEX
AC_PROG_INSTALL
AC_PROG_LN_S
@ -199,8 +199,15 @@ AC_PROG_AWK
AC_PROG_GREP
AC_C_CONST
AC_C_BIGENDIAN
AC_C_INLINE
AC_C_CHAR_UNSIGNED
AC_C_STRINGIZE
AC_C_FLEXIBLE_ARRAY_MEMBER
AC_SYS_POSIX_TERMIOS
dnl AC_PROG_CC_C99, someday.
AC_PATH_X
AC_PATH_XTRA
@ -213,6 +220,7 @@ AC_CHECK_PROGS(M4, m4)
dnl headers
AC_HEADER_STDC
AC_CHECK_HEADERS([locale.h])
dnl libraries
AC_CHECK_LIB(tirpc, main, [TIRPCINC="-DOPT_TIRPC -I/usr/include/tirpc"; TIRPCLIB=-ltirpc])