changeset 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 7c53bb4b1db4
children 9f59d4c5aaea
files sdl-config.in
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sdl-config.in	Wed Apr 19 03:49:57 2006 +0000
+++ b/sdl-config.in	Thu Apr 20 16:33:51 2006 +0000
@@ -4,8 +4,10 @@
 exec_prefix=@exec_prefix@
 exec_prefix_set=no
 
-usage="\
-Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] [--static-libs]"
+@ENABLE_STATIC_FALSE@usage="\
+@ENABLE_STATIC_FALSE@Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]"
+@ENABLE_STATIC_TRUE@usage="\
+@ENABLE_STATIC_TRUE@Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] [--static-libs]"
 
 if test $# -eq 0; then
       echo "${usage}" 1>&2