dhcpcd: Import new config.h
authorRoy Marples <roy@marples.name>
Wed, 4 Sep 2019 18:31:07 +0000 (19:31 +0100)
committerRoy Marples <roy@marples.name>
Wed, 4 Sep 2019 18:31:07 +0000 (19:31 +0100)
sbin/dhcpcd/config.h

index e399dc1..3893a35 100644 (file)
@@ -1,15 +1,27 @@
-/*
- * dhcpcd config.h for dragonfly
- *
- * generated by 'configure', with custom changes
- */
-
-#define        HAVE_SYS_QUEUE_H
-#define        TAILQ_FOREACH_SAFE      TAILQ_FOREACH_MUTABLE
-#define        HAVE_KQUEUE
-#define        HAVE_REALLOCARRAY
+/* dragonfly */
+#ifndef        SYSCONFDIR
+#define        SYSCONFDIR              "/etc"
+#define        SBINDIR                 "/sbin"
+#define        LIBDIR                  "/lib"
+#define        LIBEXECDIR              "/usr/libexec"
+#define        DBDIR                   "/var/db/dhcpcd"
+#define        RUNDIR                  "/var/run"
+#endif
+#define        HAVE_OPEN_MEMSTREAM
 #include                       "compat/pidfile.h"
 #include                       "compat/strtoi.h"
+#include                       "compat/consttime_memequal.h"
+#define        TAILQ_FOREACH_SAFE      TAILQ_FOREACH_MUTABLE
+#define        HAVE_SYS_QUEUE_H
+#define        RBTEST
+#include                       "compat/rbtree.h"
+#define        HAVE_REALLOCARRAY
+#define        HAVE_KQUEUE
+#ifdef USE_PRIVATECRYPTO
 #define        HAVE_MD5_H
-#define        SHA2_H                  <openssl/sha.h>
+#define        SHA2_H  <sha256.h>
+#else
+#include                       "compat/crypt/md5.h"
+#include                       "compat/crypt/sha256.h"
+#endif
 #include                       "compat/crypt/hmac.h"