Skip to content

Commit

Permalink
Date: Thu, 20 Apr 2006 10:13:34 +0200
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
slouken committed Apr 20, 2006
1 parent 79501af commit b067467
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sdl-config.in
Expand Up @@ -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
Expand Down

0 comments on commit b067467

Please sign in to comment.