comparison sdl-config.in @ 1647:2af911d41a08

Date: Thu, 20 Apr 2006 10:13:34 +0200 From: Julien Lecomte Subject: [SDL] sdl-config I've noticed that `sdl-config' usage reports that --static-libs is available even when it's not. I've modified the 'sdl-config.in' file so that it no longer reports '--static-libs' if SDL was compiled with --disable-static. I didn't change --disable-shared behavior.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 20 Apr 2006 16:33:51 +0000
parents a77c022733fe
children 21f13c787b46
comparison
equal deleted inserted replaced
1646:7c53bb4b1db4 1647:2af911d41a08
2 2
3 prefix=@prefix@ 3 prefix=@prefix@
4 exec_prefix=@exec_prefix@ 4 exec_prefix=@exec_prefix@
5 exec_prefix_set=no 5 exec_prefix_set=no
6 6
7 usage="\ 7 @ENABLE_STATIC_FALSE@usage="\
8 Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] [--static-libs]" 8 @ENABLE_STATIC_FALSE@Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]"
9 @ENABLE_STATIC_TRUE@usage="\
10 @ENABLE_STATIC_TRUE@Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] [--static-libs]"
9 11
10 if test $# -eq 0; then 12 if test $# -eq 0; then
11 echo "${usage}" 1>&2 13 echo "${usage}" 1>&2
12 exit 1 14 exit 1
13 fi 15 fi