Changeset 2922:505dca750f6d for m4

Show
Ignore:
Timestamp:
2002-05-31 09:45:47 (6 years ago)
Author:
Lars Hecking <lhecking@…>
Branch:
mutt-1-4-stable
Message:

The noiconv patch. Should probably have been in 1.4.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • m4/iconv.m4

    r2866 r2922  
    88  dnl those with the standalone portable GNU libiconv installed). 
    99 
    10   AC_ARG_WITH([iconv], 
    11 [  --with-iconv[=DIR]  search for libiconv in DIR/include and DIR/lib], [ 
    12     if test "$withval" != no ; then 
     10  AC_ARG_WITH([libiconv-prefix], 
     11[  --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib], [ 
    1312    for dir in `echo "$withval" | tr : ' '`; do 
    1413      if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi 
    1514      if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi 
    1615    done 
    17     else 
    18       use_iconv=no 
    19     fi 
    20    ],use_iconv=yes) 
     16   ]) 
    2117 
    22   if test "$use_iconv" = yes ; then 
    2318  AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ 
    2419    am_cv_func_iconv="no, consider installing GNU libiconv" 
     
    7267  fi 
    7368  AC_SUBST(LIBICONV) 
    74  
    75   fi # use_iconv 
    7669])