Skip to content

Commit

Permalink
Do not override previous EXTRA_LIBRARIES
Browse files Browse the repository at this point in the history
  • Loading branch information
iquiw committed Nov 3, 2012
1 parent d325078 commit e3955f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion X11.buildinfo.in
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
buildable: @BUILD_PACKAGE_BOOL@ buildable: @BUILD_PACKAGE_BOOL@
cc-options: @X_CFLAGS@ @CPPFLAGS@ cc-options: @X_CFLAGS@ @CPPFLAGS@
ld-options: @X_LIBS@ @LDFLAGS@ ld-options: @X_LIBS@ @LDFLAGS@
@EXTRA_LIBRARIES@ extra-libraries: @EXTRA_LIBRARIES@
8 changes: 2 additions & 6 deletions configure.ac
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -63,13 +63,11 @@ AC_MSG_RESULT([$with_xinerama])
if test "$with_xinerama" = yes; then if test "$with_xinerama" = yes; then
AC_CHECK_HEADERS([X11/extensions/Xinerama.h], [have_xinerama=yes]) AC_CHECK_HEADERS([X11/extensions/Xinerama.h], [have_xinerama=yes])
if test "$have_xinerama" = yes; then if test "$have_xinerama" = yes; then
EXTRA_LIBRARIES="extra-libraries: Xinerama Xext" EXTRA_LIBRARIES="Xinerama Xext"
else else
EXTRA_LIBRARIES=""
echo "WARNING: Xinerama headers not found. Building without Xinerama support" echo "WARNING: Xinerama headers not found. Building without Xinerama support"
fi fi
else else
EXTRA_LIBRARIES=""
echo "WARNING: Building without Xinerama support per user request" echo "WARNING: Building without Xinerama support per user request"
fi fi


Expand All @@ -88,13 +86,11 @@ AC_MSG_RESULT([$with_xscreensaver])
if test "$with_xscreensaver" = yes; then if test "$with_xscreensaver" = yes; then
AC_CHECK_HEADERS([X11/extensions/scrnsaver.h], [have_xscreensaver=yes]) AC_CHECK_HEADERS([X11/extensions/scrnsaver.h], [have_xscreensaver=yes])
if test "$have_xscreensaver" = yes; then if test "$have_xscreensaver" = yes; then
EXTRA_LIBRARIES="extra-libraries: Xss" EXTRA_LIBRARIES="Xss $EXTRA_LIBRARIES"
else else
EXTRA_LIBRARIES=""
echo "WARNING: XScreenSaver headers not found. Building without XScreenSaver support" echo "WARNING: XScreenSaver headers not found. Building without XScreenSaver support"
fi fi
else else
EXTRA_LIBRARIES=""
echo "WARNING: Building without XScreenSaver support per user request" echo "WARNING: Building without XScreenSaver support per user request"
fi fi


Expand Down

0 comments on commit e3955f8

Please sign in to comment.