diff --git a/.travis.yml b/.travis.yml index 4290894..3a0823c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ env: - RUNTIME=libicu - RUNTIME=libidn2 - RUNTIME=libidn + - RUNTIME=no addons: apt: diff --git a/configure.ac b/configure.ac index 44e70a8..1a8698b 100644 --- a/configure.ac +++ b/configure.ac @@ -96,6 +96,7 @@ AC_ARG_ENABLE(runtime, libicu [[default]]: IDNA2008 UTS#46 library libidn2: IDNA2008 library (also needs libunistring) libidn: IDNA2003 library (also needs libunistring) + --disable-runtime Do not link runtime IDNA functionality ], [ if test "$enableval" = "libicu" -o "$enableval" = "yes"; then enable_runtime=libicu @@ -106,6 +107,8 @@ AC_ARG_ENABLE(runtime, elif test "$enableval" = "libidn"; then enable_runtime=libidn AC_DEFINE([WITH_LIBIDN], [1], [generate PSL data using libidn]) + elif test "$enableval" = "no"; then + enable_runtime=no else AC_MSG_ERROR([Unknown value $enableval for --enable-runtime]) fi