From: Andreas Fink Date: Sun, 13 Jun 2010 12:27:56 +0000 (+0000) Subject: *fix* use /bin/sh because not every system has /bin/bash X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=df6256e448f62d1a01ad4040898a87d9d6069bfd;p=chaz%2Ftint2 *fix* use /bin/sh because not every system has /bin/bash *fix* issue 261 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ef88ad..4b40a6c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,8 @@ pkg_check_modules( GOBJECT2 REQUIRED gobject-2.0 ) pkg_check_modules( IMLIB2 REQUIRED imlib2 ) find_library( RT_LIBRARY rt ) +string( REPLACE ";" " " FLAGS_REPLACED "${FLAGS}" ) +set( CMAKE_REQUIRED_FLAGS "${FLAGS_REPLACED}" ) check_library_exists( "${IMLIB2_LIBRARIES}" "imlib_context_set_display" "${IMLIB2_LIBRARY_DIRS}" IMLIB_BUILD_WITH_X ) if( NOT IMLIB_BUILD_WITH_X ) message( FATAL_ERROR "Imlib is not build with x support" ) diff --git a/get_svnrev.sh b/get_svnrev.sh index b537a60..8e6c85e 100755 --- a/get_svnrev.sh +++ b/get_svnrev.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh FALLBACK=\"0.10-svn\"