Bug #937 ยป 0033-Autotools-Fix-duplicate-lcharset-on-LIBS.patch
m4/locale.m4 | ||
---|---|---|
[LIBS="$LIBS -lcharset"
|
||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <libcharset.h>]], [[locale_charset()]])],
|
||
[dnl Link against libcharset also when building actual freeciv
|
||
lc_save_LIBS="$LIBS -lcharset"
|
||
lc_save_LIBS="$lc_save_LIBS -lcharset"
|
||
am_cv_libcharset=yes],
|
||
[am_cv_libcharset=no])])
|
||
LIBS="$lc_save_LIBS"
|