aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Seyfried <stefan.seyfried@googlemail.com>2008-04-16 13:16:20 +0000
committerStefan Seyfried <stefan.seyfried@googlemail.com>2008-04-16 13:16:20 +0000
commit799756fd66a52b2f7c3102a2f0785a10ccb99f8b (patch)
treef53c698866403e81b8bc8ce4ee452695eb6edb12
parent90708547d81f7fa61ed84c3d2098b3d253071606 (diff)
downloadsuspend-utils-799756fd66a52b2f7c3102a2f0785a10ccb99f8b.tar.gz
Add libgcc_s only for build with --enable-splashy. Fix by Alon Bar-Lev.
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 1992016..b725b92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,8 +117,6 @@ AC_PROG_LIBTOOL # We are using libtool so it auto-find static dependencies
PKG_PROG_PKG_CONFIG
AC_CHECK_PROGS([M4], [m4])
-AC_CHECK_LIB([gcc_s], [strlen])
-
AC_SYS_LARGEFILE
if test "${enable_create_device}" = "yes"; then
@@ -217,6 +215,9 @@ if test "${enable_splashy}" = "yes"; then
CONFIG_FEATURES="${CONFIG_FEATURES} splashy"
AC_DEFINE([CONFIG_SPLASHY], [1], [Define if splashy enabled])
+ # Workaround a wierd splashy issue
+ AC_CHECK_LIB([gcc_s], [strlen])
+
if test -z "${SPLASHY_LIBS}"; then
AC_ARG_VAR([SPLASHY_CFLAGS], [C compiler flags for libsplashy])
AC_ARG_VAR([SPLASHY_LIBS], [linker flags for libsplashy])