*fix* use /bin/sh because not every system has /bin/bash
*fix* issue 261 git-svn-id: http://tint2.googlecode.com/svn/trunk@497 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
d0368c7591
commit
6d8a460434
2 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,8 @@ pkg_check_modules( GOBJECT2 REQUIRED gobject-2.0 )
|
||||||
pkg_check_modules( IMLIB2 REQUIRED imlib2 )
|
pkg_check_modules( IMLIB2 REQUIRED imlib2 )
|
||||||
find_library( RT_LIBRARY rt )
|
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 )
|
check_library_exists( "${IMLIB2_LIBRARIES}" "imlib_context_set_display" "${IMLIB2_LIBRARY_DIRS}" IMLIB_BUILD_WITH_X )
|
||||||
if( NOT IMLIB_BUILD_WITH_X )
|
if( NOT IMLIB_BUILD_WITH_X )
|
||||||
message( FATAL_ERROR "Imlib is not build with x support" )
|
message( FATAL_ERROR "Imlib is not build with x support" )
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
FALLBACK=\"0.10-svn\"
|
FALLBACK=\"0.10-svn\"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue