diff options
Diffstat (limited to 'm4/fp_iconv.m4')
-rw-r--r-- | m4/fp_iconv.m4 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/m4/fp_iconv.m4 b/m4/fp_iconv.m4 new file mode 100644 index 0000000000..d6322a038b --- /dev/null +++ b/m4/fp_iconv.m4 @@ -0,0 +1,25 @@ +# FP_ICONV +# ------------- +AC_DEFUN([FP_ICONV], +[ + dnl-------------------------------------------------------------------- + dnl * Deal with arguments telling us iconv is somewhere odd + dnl-------------------------------------------------------------------- + + dnl Note: ICONV_LIB_DIRS and ICONV_INCLUDE_DIRS are not predefined + dnl to the empty string to allow them to be overridden from the + dnl environment. + + AC_ARG_WITH([iconv-includes], + [AS_HELP_STRING([--with-iconv-includes], + [directory containing iconv.h])], + [ICONV_INCLUDE_DIRS=$withval]) + + AC_ARG_WITH([iconv-libraries], + [AS_HELP_STRING([--with-iconv-libraries], + [directory containing iconv library])], + [ICONV_LIB_DIRS=$withval]) + + AC_SUBST(ICONV_INCLUDE_DIRS) + AC_SUBST(ICONV_LIB_DIRS) +])# FP_ICONV |