OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3b0c2d
)
Add a check on the existence of libiconv
author
Habu
<habu@users.sourceforge.jp>
Mon, 3 Mar 2014 03:48:28 +0000
(12:48 +0900)
committer
Habu
<habu@users.sourceforge.jp>
Mon, 3 Mar 2014 03:48:28 +0000
(12:48 +0900)
glibcにiconv関数が統合されていない環境を考慮し、libiconvが存在する場合は
gccのオプションに-liconvが付加されるようにした。
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
f37cc0f
..
e7fc640
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-67,6
+67,8
@@
if test "$ac_cv_lib_ncursesw_initscr" != yes; then
fi
fi
+AC_CHECK_LIB(iconv, iconv_open)
+
dnl Checks for header files.
AC_PATH_XTRA
if test "$have_x" = yes; then