summaryrefslogtreecommitdiff
path: root/Build/source/libs/obsdcompat/libobsd-compat.ac
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/obsdcompat/libobsd-compat.ac')
-rw-r--r--Build/source/libs/obsdcompat/libobsd-compat.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/Build/source/libs/obsdcompat/libobsd-compat.ac b/Build/source/libs/obsdcompat/libobsd-compat.ac
new file mode 100644
index 00000000000..056a3f75029
--- /dev/null
+++ b/Build/source/libs/obsdcompat/libobsd-compat.ac
@@ -0,0 +1,13 @@
+if test "$needs_obsdcompat" = no; then
+ LIBOBSDCFLAGS=
+ LDLIBOBSD=
+ LIBOBSDDEP=
+else
+ LIBOBSDCPPFLAGS='-I$(LIBOBSDDIR)'
+ LDLIBOBSD='$(LIBOBSDDIR)/libopenbsd-compat.a'
+ LIBOBSDDEP='$(LIBOBSDDIR)/libopenbsd-compat.a'
+fi
+
+AC_SUBST(LIBOBSDCFLAGS)
+AC_SUBST(LDLIBOBSD)
+AC_SUBST(LIBOBSDDEP)