From b067467218d8bdd87a7380866d12aaa1508e9d8d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 20 Apr 2006 16:33:51 +0000 Subject: [PATCH] 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. --- sdl-config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sdl-config.in b/sdl-config.in index f4cb35940..95f4c9e8a 100644 --- a/sdl-config.in +++ b/sdl-config.in @@ -4,8 +4,10 @@ prefix=@prefix@ 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