Mercurial > mplayer.hg
comparison configure @ 2490:e5a6dd35b88e
gtk12-config detection
author | laaz |
---|---|
date | Fri, 26 Oct 2001 19:54:43 +0000 |
parents | 4733bb1a9b72 |
children | b2ce5d6d7d4f |
comparison
equal
deleted
inserted
replaced
2489:0ecc1b4f7cf8 | 2490:e5a6dd35b88e |
---|---|
1774 # write conf files. | 1774 # write conf files. |
1775 | 1775 |
1776 if test "$_gui" = yes ; then | 1776 if test "$_gui" = yes ; then |
1777 # --------------- GUI begin ------------------- | 1777 # --------------- GUI begin ------------------- |
1778 | 1778 |
1779 test -z `which gtk-config` || _gtkconfig="gtk-config" | |
1780 test -z `which gtk12-config` || _gtkconfig="gtk12-config" | |
1781 test -z $_gtkconfig && die "gtk-config not found" | |
1782 | |
1783 test -z `which glib-config` || _glibconfig="glib-config" | |
1784 test -z `which glib12-config` || _glibconfig="glib12-config" | |
1785 test -z $_glibconfig && die "glib-config not found" | |
1786 | |
1779 echo | 1787 echo |
1788 #echo "gtk-config binary: $_gtkconfig" | |
1780 echo $_echo_n "Checking for gtk version ... $_echo_c" | 1789 echo $_echo_n "Checking for gtk version ... $_echo_c" |
1781 _gtk=`gtk-config --version 2>&1` | 1790 _gtk=`$_gtkconfig --version 2>&1` |
1782 test -z "$_gtk" && die "gtk not found." | 1791 test -z "$_gtk" && die "gtk not found." |
1783 echo "$_gtk" | 1792 echo "$_gtk" |
1784 | 1793 |
1785 echo $_echo_n "Checking for gtk includes ... $_echo_c" | 1794 echo $_echo_n "Checking for gtk includes ... $_echo_c" |
1786 _gtkinc=`gtk-config --cflags 2>&1` | 1795 _gtkinc=`$_gtkconfig --cflags 2>&1` |
1787 test -z "$_gtkinc" && die "gtk not found." | 1796 test -z "$_gtkinc" && die "gtk not found." |
1788 echo "done" | 1797 echo "done" |
1789 | 1798 |
1790 echo $_echo_n "Checking for gtk libs ... $_echo_c" | 1799 echo $_echo_n "Checking for gtk libs ... $_echo_c" |
1791 _gtklib=`gtk-config --libs 2>&1` | 1800 _gtklib=`$_gtkconfig --libs 2>&1` |
1792 test -z "$_gtklib" && die "gtk not found." | 1801 test -z "$_gtklib" && die "gtk not found." |
1793 echo "done" | 1802 echo "done" |
1794 | 1803 |
1795 echo | 1804 echo |
1796 echo $_echo_n "Checking for glib version ... $_echo_c" | 1805 echo $_echo_n "Checking for glib version ... $_echo_c" |
1797 _glib=`glib-config --version 2>&1` | 1806 _glib=`$_glibconfig --version 2>&1` |
1798 test -z "$_glib" && die "glib not found." | 1807 test -z "$_glib" && die "glib not found." |
1799 echo "$_glib" | 1808 echo "$_glib" |
1800 | 1809 |
1801 echo $_echo_n "Checking for glib includes ... $_echo_c" | 1810 echo $_echo_n "Checking for glib includes ... $_echo_c" |
1802 _glibinc=`glib-config --cflags 2>&1` | 1811 _glibinc=`$_glibconfig --cflags 2>&1` |
1803 test -z "$_glibinc" && die "glib not found." | 1812 test -z "$_glibinc" && die "glib not found." |
1804 echo "done" | 1813 echo "done" |
1805 | 1814 |
1806 echo $_echo_n "Checking for glib libs ... $_echo_c" | 1815 echo $_echo_n "Checking for glib libs ... $_echo_c" |
1807 _gliblib=`glib-config --libs 2>&1` | 1816 _gliblib=`$_glibconfig --libs 2>&1` |
1808 test -z "$_gliblib" && die "glib not found." | 1817 test -z "$_gliblib" && die "glib not found." |
1809 echo "done" | 1818 echo "done" |
1810 | 1819 |
1811 cat > Gui/config.mak << EOF | 1820 cat > Gui/config.mak << EOF |
1812 | 1821 |