X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=configure.in;h=664733bf1765916e12a9fb09dc2cc619f3865a2a;hb=201d47019dcd117e5203f0d3ae15fc95b263b2dd;hp=f680443721c3fc78f1e195904d9459f10ec6c9d4;hpb=3fd736471db6995d9cff3f8579f17a7dafdf994e;p=gedcom-parse.git diff --git a/configure.in b/configure.in index f680443..664733b 100644 --- a/configure.in +++ b/configure.in @@ -28,6 +28,8 @@ AM_INIT_AUTOMAKE(${NAME},${VERSION}) AM_CONFIG_HEADER(config.h) ALL_LINGUAS="nl" +AC_CANONICAL_HOST + dnl ============================================================= dnl Checks for programs. AC_PROG_CC @@ -65,7 +67,10 @@ AC_TYPE_SIZE_T dnl ========================================================== dnl Checks for library functions. -AC_CHECK_FUNCS(vsnprintf vsprintf) +AC_CHECK_HEADERS(stddef.h stdlib.h string.h) +AC_CHECK_FUNCS(setlocale vsnprintf vsprintf) +jm_LANGINFO_CODESET +jm_GLIBC21 dnl ========================================================== dnl My local stuff @@ -90,7 +95,7 @@ else AC_MSG_RESULT(libc) AC_GLIBC_ICONV if test "$is_glibc_iconv" = yes; then - DIRS="ansel" + DIRS="glibc" is_ansel_supported=yes AC_SUBST(DIRS) fi @@ -106,12 +111,17 @@ README). ]) fi -AC_OUTPUT(Makefile +AC_OUTPUT(GNUmakefile + Makefile + README gedcom/Makefile gedcom/calendar/Makefile gom/Makefile - ansel/Makefile + iconv/Makefile + iconv/glibc/Makefile + iconv/libiconv/Makefile utf8/Makefile + utf8/libcharset/Makefile t/Makefile t/src/Makefile t/input/Makefile @@ -119,6 +129,7 @@ AC_OUTPUT(Makefile data/new.ged doc/Makefile doc/images/Makefile + doc/index.html include/Makefile include/gedcom.h intl/Makefile