comparison configure.in @ 1370:00fc57bb5dc4

Detect the X11 library on Solaris x86
author Sam Lantinga <slouken@libsdl.org>
date Sat, 18 Feb 2006 07:11:58 +0000
parents e440d5c488c1
children 04499d3e1b6b
comparison
equal deleted inserted replaced
1369:42eeb14770e3 1370:00fc57bb5dc4
760 *-*-osf* ) 760 *-*-osf* )
761 x11_lib='libX11.so' 761 x11_lib='libX11.so'
762 x11ext_lib='libXext.so' 762 x11ext_lib='libXext.so'
763 ;; 763 ;;
764 *) 764 *)
765 if test x$X_LIBS = x; then X_LIBS="-L/usr/lib"; fi
765 x11_lib_spec=`echo $X_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libX11.so.*/'` 766 x11_lib_spec=`echo $X_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libX11.so.*/'`
766 x11_lib=`ls $x11_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` 767 x11_lib=`ls $x11_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
767 x11ext_lib_spec=`echo $X_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libXext.so.*/'` 768 x11ext_lib_spec=`echo $X_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libXext.so.*/'`
768 x11ext_lib=`ls $x11ext_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` 769 x11ext_lib=`ls $x11ext_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
769 ;; 770 ;;