aboutsummaryrefslogtreecommitdiff
path: root/libidn/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libidn/configure.ac')
-rw-r--r--libidn/configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/libidn/configure.ac b/libidn/configure.ac
new file mode 100644
index 0000000..16740ff
--- /dev/null
+++ b/libidn/configure.ac
@@ -0,0 +1,11 @@
+dnl glibc configure fragment for libidn add-on
+GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+
+libc_add_on_canonical=
+
+AS_IF([test "$shared" = yes], [
+ libc_add_on_subdirs=.
+
+ # Get this defined in config.h for main source code to test.
+ AC_DEFINE([HAVE_LIBIDN])
+], [AC_MSG_WARN([libidn add-on ignored with --disable-shared])])