Date: Thu, 20 Apr 2006 10:13:34 +0200
authorSam Lantinga <slouken@libsdl.org>
Thu, 20 Apr 2006 16:33:51 +0000
changeset 16472af911d41a08
parent 1646 7c53bb4b1db4
child 1648 9f59d4c5aaea
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
     1.1 --- a/sdl-config.in	Wed Apr 19 03:49:57 2006 +0000
     1.2 +++ b/sdl-config.in	Thu Apr 20 16:33:51 2006 +0000
     1.3 @@ -4,8 +4,10 @@
     1.4  exec_prefix=@exec_prefix@
     1.5  exec_prefix_set=no
     1.6  
     1.7 -usage="\
     1.8 -Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] [--static-libs]"
     1.9 +@ENABLE_STATIC_FALSE@usage="\
    1.10 +@ENABLE_STATIC_FALSE@Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]"
    1.11 +@ENABLE_STATIC_TRUE@usage="\
    1.12 +@ENABLE_STATIC_TRUE@Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] [--static-libs]"
    1.13  
    1.14  if test $# -eq 0; then
    1.15        echo "${usage}" 1>&2