]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
configure: unify macro naming for available headers
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 19 Sep 2014 09:06:37 +0000 (11:06 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 19 Sep 2014 09:06:37 +0000 (11:06 +0200)
configure
sysincl.h

index f8db0f1883225ad2ebe44088d16d15801c94ac68..e717e311822040078058a4d67f54ed628b684935 100755 (executable)
--- a/configure
+++ b/configure
@@ -436,11 +436,11 @@ else
 fi
   
 if test_code '<stdint.h>' 'stdint.h' '' '' ''; then
-  add_def HAS_STDINT_H
+  add_def HAVE_STDINT_H
 fi
 
 if test_code '<inttypes.h>' 'inttypes.h' '' '' ''; then
-  add_def HAS_INTTYPES_H
+  add_def HAVE_INTTYPES_H
 fi
 
 if [ $feat_ipv6 = "1" ] && \
index 2ecccb7f09bc34e6c3199d677c2830feeaae220b..adf199736fcc218de96fc9ed641b1bd8fcbdd67c 100644 (file)
--- a/sysincl.h
+++ b/sysincl.h
@@ -62,9 +62,9 @@
 #include <syslog.h>
 #include <time.h>
 
-#ifdef HAS_INTTYPES_H
+#ifdef HAVE_INTTYPES_H
 #include <inttypes.h>
-#elif HAS_STDINT_H
+#elif HAVE_STDINT_H
 #include <stdint.h>
 #else
 /* Tough */