From: Miroslav Lichvar Date: Fri, 19 Sep 2014 09:06:37 +0000 (+0200) Subject: configure: unify macro naming for available headers X-Git-Tag: 2.0-pre1~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=767a8b19a97c17aa7077d7d97c76c84e93154bc9;p=thirdparty%2Fchrony.git configure: unify macro naming for available headers --- diff --git a/configure b/configure index f8db0f18..e717e311 100755 --- a/configure +++ b/configure @@ -436,11 +436,11 @@ else fi if test_code '' 'stdint.h' '' '' ''; then - add_def HAS_STDINT_H + add_def HAVE_STDINT_H fi if test_code '' 'inttypes.h' '' '' ''; then - add_def HAS_INTTYPES_H + add_def HAVE_INTTYPES_H fi if [ $feat_ipv6 = "1" ] && \ diff --git a/sysincl.h b/sysincl.h index 2ecccb7f..adf19973 100644 --- a/sysincl.h +++ b/sysincl.h @@ -62,9 +62,9 @@ #include #include -#ifdef HAS_INTTYPES_H +#ifdef HAVE_INTTYPES_H #include -#elif HAS_STDINT_H +#elif HAVE_STDINT_H #include #else /* Tough */