Mercurial > emacs
comparison configure @ 87907:ce4c5e0799c9
configure: Regenerate.
author | Michael Olson <mwolson@gnu.org> |
---|---|
date | Wed, 23 Jan 2008 04:00:10 +0000 |
parents | 217f68a90610 |
children | 0c208f9e2445 |
comparison
equal
deleted
inserted
replaced
87906:583255b1f809 | 87907:ce4c5e0799c9 |
---|---|
1350 --with-gif use -lgif (or -lungif) for displaying GIF images | 1350 --with-gif use -lgif (or -lungif) for displaying GIF images |
1351 --with-png use -lpng for displaying PNG images | 1351 --with-png use -lpng for displaying PNG images |
1352 --with-gpm use -lgpm for mouse support on a GNU/Linux console | 1352 --with-gpm use -lgpm for mouse support on a GNU/Linux console |
1353 --with-rsvg use -lrsvg-2 for displaying SVG images | 1353 --with-rsvg use -lrsvg-2 for displaying SVG images |
1354 --with-gtk use GTK (same as --with-x-toolkit=gtk) | 1354 --with-gtk use GTK (same as --with-x-toolkit=gtk) |
1355 --with-pkg-config-prog Path to pkg-config for finding GTK and librsvg | |
1356 --without-toolkit-scroll-bars | 1355 --without-toolkit-scroll-bars |
1357 don't use Motif or Xaw3d scroll bars | 1356 don't use Motif or Xaw3d scroll bars |
1358 --without-xaw3d don't use Xaw3d | 1357 --without-xaw3d don't use Xaw3d |
1359 --without-xim don't use X11 XIM | 1358 --without-xim don't use X11 XIM |
1360 --without-carbon don't use Carbon GUI on Mac OS X | 1359 --without-carbon don't use Carbon GUI on Mac OS X |
1361 --with-dbus use D-Bus | 1360 --without-dbus use D-Bus |
1361 --with-pkg-config-prog=PATH | |
1362 Path to pkg-config for finding GTK and librsvg | |
1362 --with-x use the X Window System | 1363 --with-x use the X Window System |
1363 | 1364 |
1364 Some influential environment variables: | 1365 Some influential environment variables: |
1365 CC C compiler command | 1366 CC C compiler command |
1366 CFLAGS C compiler flags | 1367 CFLAGS C compiler flags |
1834 | 1835 |
1835 gameuser=games | 1836 gameuser=games |
1836 | 1837 |
1837 | 1838 |
1838 | 1839 |
1840 | |
1839 # Check whether --with-gcc was given. | 1841 # Check whether --with-gcc was given. |
1840 if test "${with_gcc+set}" = set; then | 1842 if test "${with_gcc+set}" = set; then |
1841 withval=$with_gcc; | 1843 withval=$with_gcc; |
1844 else | |
1845 with_gcc=yes | |
1842 fi | 1846 fi |
1843 | 1847 |
1844 | 1848 |
1845 | 1849 |
1846 # Check whether --with-pop was given. | 1850 # Check whether --with-pop was given. |
1847 if test "${with_pop+set}" = set; then | 1851 if test "${with_pop+set}" = set; then |
1848 withval=$with_pop; if test "$withval" = yes; then | 1852 withval=$with_pop; |
1853 else | |
1854 with_pop=yes | |
1855 fi | |
1856 | |
1857 if test "$with_pop" = yes; then | |
1849 cat >>confdefs.h <<\_ACEOF | 1858 cat >>confdefs.h <<\_ACEOF |
1850 #define MAIL_USE_POP 1 | 1859 #define MAIL_USE_POP 1 |
1851 _ACEOF | 1860 _ACEOF |
1852 | 1861 |
1853 else : | 1862 fi |
1854 fi | |
1855 else | |
1856 cat >>confdefs.h <<\_ACEOF | |
1857 #define MAIL_USE_POP 1 | |
1858 _ACEOF | |
1859 | |
1860 fi | |
1861 | |
1862 | 1863 |
1863 | 1864 |
1864 | 1865 |
1865 # Check whether --with-kerberos was given. | 1866 # Check whether --with-kerberos was given. |
1866 if test "${with_kerberos+set}" = set; then | 1867 if test "${with_kerberos+set}" = set; then |
1867 withval=$with_kerberos; if test "$withval" = yes; then | 1868 withval=$with_kerberos; |
1869 else | |
1870 with_kerberos=no | |
1871 fi | |
1872 | |
1873 if test "$with_kerberos" = yes; then | |
1868 cat >>confdefs.h <<\_ACEOF | 1874 cat >>confdefs.h <<\_ACEOF |
1869 #define KERBEROS 1 | 1875 #define KERBEROS 1 |
1870 _ACEOF | 1876 _ACEOF |
1871 | 1877 |
1872 fi | 1878 fi |
1873 fi | |
1874 | |
1875 | 1879 |
1876 | 1880 |
1877 | 1881 |
1878 # Check whether --with-kerberos5 was given. | 1882 # Check whether --with-kerberos5 was given. |
1879 if test "${with_kerberos5+set}" = set; then | 1883 if test "${with_kerberos5+set}" = set; then |
1880 withval=$with_kerberos5; if test "${with_kerberos5+set}" = set; then | 1884 withval=$with_kerberos5; |
1881 if test "${with_kerberos+set}" != set; then | 1885 else |
1886 with_kerberos5=no | |
1887 fi | |
1888 | |
1889 if test "${with_kerberos5}" = yes; then | |
1890 if test "${with_kerberos}" != yes; then | |
1882 with_kerberos=yes | 1891 with_kerberos=yes |
1883 cat >>confdefs.h <<\_ACEOF | 1892 cat >>confdefs.h <<\_ACEOF |
1884 #define KERBEROS 1 | 1893 #define KERBEROS 1 |
1885 _ACEOF | 1894 _ACEOF |
1886 | 1895 |
1889 cat >>confdefs.h <<\_ACEOF | 1898 cat >>confdefs.h <<\_ACEOF |
1890 #define KERBEROS5 1 | 1899 #define KERBEROS5 1 |
1891 _ACEOF | 1900 _ACEOF |
1892 | 1901 |
1893 fi | 1902 fi |
1894 fi | |
1895 | |
1896 | 1903 |
1897 | 1904 |
1898 # Check whether --with-hesiod was given. | 1905 # Check whether --with-hesiod was given. |
1899 if test "${with_hesiod+set}" = set; then | 1906 if test "${with_hesiod+set}" = set; then |
1900 withval=$with_hesiod; if test "$withval" = yes; then | 1907 withval=$with_hesiod; |
1908 else | |
1909 with_hesiod=no | |
1910 fi | |
1911 | |
1912 if test "$with_hesiod" = yes; then | |
1901 | 1913 |
1902 cat >>confdefs.h <<\_ACEOF | 1914 cat >>confdefs.h <<\_ACEOF |
1903 #define HESIOD 1 | 1915 #define HESIOD 1 |
1904 _ACEOF | 1916 _ACEOF |
1905 | 1917 |
1906 fi | 1918 fi |
1907 fi | |
1908 | |
1909 | 1919 |
1910 | 1920 |
1911 # Check whether --with-sound was given. | 1921 # Check whether --with-sound was given. |
1912 if test "${with_sound+set}" = set; then | 1922 if test "${with_sound+set}" = set; then |
1913 withval=$with_sound; | 1923 withval=$with_sound; |
1924 else | |
1925 with_sound=yes | |
1914 fi | 1926 fi |
1915 | 1927 |
1916 | 1928 |
1917 | 1929 |
1918 # Check whether --with-x-toolkit was given. | 1930 # Check whether --with-x-toolkit was given. |
1941 | 1953 |
1942 | 1954 |
1943 # Check whether --with-xpm was given. | 1955 # Check whether --with-xpm was given. |
1944 if test "${with_xpm+set}" = set; then | 1956 if test "${with_xpm+set}" = set; then |
1945 withval=$with_xpm; | 1957 withval=$with_xpm; |
1958 else | |
1959 with_xpm=no | |
1946 fi | 1960 fi |
1947 | 1961 |
1948 | 1962 |
1949 # Check whether --with-jpeg was given. | 1963 # Check whether --with-jpeg was given. |
1950 if test "${with_jpeg+set}" = set; then | 1964 if test "${with_jpeg+set}" = set; then |
1951 withval=$with_jpeg; | 1965 withval=$with_jpeg; |
1966 else | |
1967 with_jpeg=no | |
1952 fi | 1968 fi |
1953 | 1969 |
1954 | 1970 |
1955 # Check whether --with-tiff was given. | 1971 # Check whether --with-tiff was given. |
1956 if test "${with_tiff+set}" = set; then | 1972 if test "${with_tiff+set}" = set; then |
1957 withval=$with_tiff; | 1973 withval=$with_tiff; |
1974 else | |
1975 with_tiff=no | |
1958 fi | 1976 fi |
1959 | 1977 |
1960 | 1978 |
1961 # Check whether --with-gif was given. | 1979 # Check whether --with-gif was given. |
1962 if test "${with_gif+set}" = set; then | 1980 if test "${with_gif+set}" = set; then |
1963 withval=$with_gif; | 1981 withval=$with_gif; |
1982 else | |
1983 with_gif=no | |
1964 fi | 1984 fi |
1965 | 1985 |
1966 | 1986 |
1967 # Check whether --with-png was given. | 1987 # Check whether --with-png was given. |
1968 if test "${with_png+set}" = set; then | 1988 if test "${with_png+set}" = set; then |
1969 withval=$with_png; | 1989 withval=$with_png; |
1990 else | |
1991 with_png=no | |
1970 fi | 1992 fi |
1971 | 1993 |
1972 | 1994 |
1973 # Check whether --with-gpm was given. | 1995 # Check whether --with-gpm was given. |
1974 if test "${with_gpm+set}" = set; then | 1996 if test "${with_gpm+set}" = set; then |
1975 withval=$with_gpm; | 1997 withval=$with_gpm; |
1998 else | |
1999 with_gpm=no | |
1976 fi | 2000 fi |
1977 | 2001 |
1978 | 2002 |
1979 # Check whether --with-rsvg was given. | 2003 # Check whether --with-rsvg was given. |
1980 if test "${with_rsvg+set}" = set; then | 2004 if test "${with_rsvg+set}" = set; then |
1981 withval=$with_rsvg; | 2005 withval=$with_rsvg; |
2006 else | |
2007 with_rsvg=no | |
1982 fi | 2008 fi |
1983 | 2009 |
1984 | 2010 |
1985 # Check whether --with-gtk was given. | 2011 # Check whether --with-gtk was given. |
1986 if test "${with_gtk+set}" = set; then | 2012 if test "${with_gtk+set}" = set; then |
1987 withval=$with_gtk; | 2013 withval=$with_gtk; |
1988 fi | 2014 else |
2015 with_gtk=no | |
2016 fi | |
2017 | |
2018 | |
2019 # Check whether --with-toolkit-scroll-bars was given. | |
2020 if test "${with_toolkit_scroll_bars+set}" = set; then | |
2021 withval=$with_toolkit_scroll_bars; | |
2022 else | |
2023 with_toolkit_scroll_bars=yes | |
2024 fi | |
2025 | |
2026 | |
2027 # Check whether --with-xaw3d was given. | |
2028 if test "${with_xaw3d+set}" = set; then | |
2029 withval=$with_xaw3d; | |
2030 else | |
2031 with_xaw3d=yes | |
2032 fi | |
2033 | |
2034 | |
2035 # Check whether --with-xim was given. | |
2036 if test "${with_xim+set}" = set; then | |
2037 withval=$with_xim; | |
2038 else | |
2039 with_xim=yes | |
2040 fi | |
2041 | |
2042 | |
2043 # Check whether --with-carbon was given. | |
2044 if test "${with_carbon+set}" = set; then | |
2045 withval=$with_carbon; | |
2046 else | |
2047 with_carbon=yes | |
2048 fi | |
2049 | |
2050 | |
2051 # Check whether --with-dbus was given. | |
2052 if test "${with_dbus+set}" = set; then | |
2053 withval=$with_dbus; | |
2054 else | |
2055 with_dbus=yes | |
2056 fi | |
2057 | |
1989 | 2058 |
1990 | 2059 |
1991 # Check whether --with-pkg-config-prog was given. | 2060 # Check whether --with-pkg-config-prog was given. |
1992 if test "${with_pkg_config_prog+set}" = set; then | 2061 if test "${with_pkg_config_prog+set}" = set; then |
1993 withval=$with_pkg_config_prog; | 2062 withval=$with_pkg_config_prog; |
1994 fi | 2063 fi |
1995 | 2064 |
1996 | 2065 if test "X${with_pkg_config_prog}" != X; then |
1997 # Check whether --with-toolkit-scroll-bars was given. | 2066 if test "${with_pkg_config_prog}" != yes; then |
1998 if test "${with_toolkit_scroll_bars+set}" = set; then | 2067 PKG_CONFIG="${with_pkg_config_prog}" |
1999 withval=$with_toolkit_scroll_bars; | 2068 fi |
2000 fi | 2069 fi |
2001 | |
2002 | |
2003 # Check whether --with-xaw3d was given. | |
2004 if test "${with_xaw3d+set}" = set; then | |
2005 withval=$with_xaw3d; | |
2006 fi | |
2007 | |
2008 | |
2009 # Check whether --with-xim was given. | |
2010 if test "${with_xim+set}" = set; then | |
2011 withval=$with_xim; | |
2012 fi | |
2013 | |
2014 | |
2015 # Check whether --with-carbon was given. | |
2016 if test "${with_carbon+set}" = set; then | |
2017 withval=$with_carbon; | |
2018 fi | |
2019 | |
2020 | |
2021 # Check whether --with-dbus was given. | |
2022 if test "${with_dbus+set}" = set; then | |
2023 withval=$with_dbus; | |
2024 fi | |
2025 | |
2026 | 2070 |
2027 # Check whether --enable-carbon-app was given. | 2071 # Check whether --enable-carbon-app was given. |
2028 if test "${enable_carbon_app+set}" = set; then | 2072 if test "${enable_carbon_app+set}" = set; then |
2029 enableval=$enable_carbon_app; carbon_appdir_x=${enableval} | 2073 enableval=$enable_carbon_app; carbon_appdir_x=${enableval} |
2030 fi | 2074 fi |
5983 | 6027 |
5984 | 6028 |
5985 | 6029 |
5986 ALSA_REQUIRED=1.0.0 | 6030 ALSA_REQUIRED=1.0.0 |
5987 ALSA_MODULES="alsa >= $ALSA_REQUIRED" | 6031 ALSA_MODULES="alsa >= $ALSA_REQUIRED" |
5988 if test "X${with_pkg_config_prog}" != X; then | |
5989 PKG_CONFIG="${with_pkg_config_prog}" | |
5990 fi | |
5991 | 6032 |
5992 succeeded=no | 6033 succeeded=no |
5993 | 6034 |
5994 if test -z "$PKG_CONFIG"; then | 6035 # Extract the first word of "pkg-config", so it can be a program name with args. |
5995 # Extract the first word of "pkg-config", so it can be a program name with args. | |
5996 set dummy pkg-config; ac_word=$2 | 6036 set dummy pkg-config; ac_word=$2 |
5997 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 6037 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 6038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5999 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 6039 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
6000 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6040 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6031 { echo "$as_me:$LINENO: result: no" >&5 | 6071 { echo "$as_me:$LINENO: result: no" >&5 |
6032 echo "${ECHO_T}no" >&6; } | 6072 echo "${ECHO_T}no" >&6; } |
6033 fi | 6073 fi |
6034 | 6074 |
6035 | 6075 |
6036 fi | |
6037 | 6076 |
6038 if test "$PKG_CONFIG" = "no" ; then | 6077 if test "$PKG_CONFIG" = "no" ; then |
6039 HAVE_ALSA=no | 6078 HAVE_ALSA=no |
6040 else | 6079 else |
6041 PKG_CONFIG_MIN_VERSION=0.9.0 | 6080 PKG_CONFIG_MIN_VERSION=0.9.0 |
10616 | 10655 |
10617 ### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified. | 10656 ### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified. |
10618 HAVE_RSVG=no | 10657 HAVE_RSVG=no |
10619 if test "${HAVE_X11}" = "yes" || test "${HAVE_CARBON}" = "yes"; then | 10658 if test "${HAVE_X11}" = "yes" || test "${HAVE_CARBON}" = "yes"; then |
10620 if test "${with_rsvg}" != "no"; then | 10659 if test "${with_rsvg}" != "no"; then |
10621 if test "X${with_pkg_config_prog}" != X; then | |
10622 PKG_CONFIG="${with_pkg_config_prog}" | |
10623 fi | |
10624 | |
10625 RSVG_REQUIRED=2.0.0 | 10660 RSVG_REQUIRED=2.0.0 |
10626 RSVG_MODULE="librsvg-2.0 >= $RSVG_REQUIRED" | 10661 RSVG_MODULE="librsvg-2.0 >= $RSVG_REQUIRED" |
10627 | 10662 |
10628 | 10663 |
10629 succeeded=no | 10664 succeeded=no |
10630 | 10665 |
10631 if test -z "$PKG_CONFIG"; then | 10666 # Extract the first word of "pkg-config", so it can be a program name with args. |
10632 # Extract the first word of "pkg-config", so it can be a program name with args. | |
10633 set dummy pkg-config; ac_word=$2 | 10667 set dummy pkg-config; ac_word=$2 |
10634 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 10668 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
10635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 10669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
10636 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 10670 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
10637 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10671 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10668 { echo "$as_me:$LINENO: result: no" >&5 | 10702 { echo "$as_me:$LINENO: result: no" >&5 |
10669 echo "${ECHO_T}no" >&6; } | 10703 echo "${ECHO_T}no" >&6; } |
10670 fi | 10704 fi |
10671 | 10705 |
10672 | 10706 |
10673 fi | |
10674 | 10707 |
10675 if test "$PKG_CONFIG" = "no" ; then | 10708 if test "$PKG_CONFIG" = "no" ; then |
10676 : | 10709 : |
10677 else | 10710 else |
10678 PKG_CONFIG_MIN_VERSION=0.9.0 | 10711 PKG_CONFIG_MIN_VERSION=0.9.0 |
10751 fi | 10784 fi |
10752 GLIB_REQUIRED=2.6 | 10785 GLIB_REQUIRED=2.6 |
10753 GTK_REQUIRED=2.6 | 10786 GTK_REQUIRED=2.6 |
10754 GTK_MODULES="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED" | 10787 GTK_MODULES="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED" |
10755 | 10788 |
10756 if test "X${with_pkg_config_prog}" != X; then | |
10757 PKG_CONFIG="${with_pkg_config_prog}" | |
10758 fi | |
10759 | 10789 |
10760 succeeded=no | 10790 succeeded=no |
10761 | 10791 |
10762 if test -z "$PKG_CONFIG"; then | 10792 # Extract the first word of "pkg-config", so it can be a program name with args. |
10763 # Extract the first word of "pkg-config", so it can be a program name with args. | |
10764 set dummy pkg-config; ac_word=$2 | 10793 set dummy pkg-config; ac_word=$2 |
10765 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 10794 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
10766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 10795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
10767 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 10796 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
10768 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10797 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10799 { echo "$as_me:$LINENO: result: no" >&5 | 10828 { echo "$as_me:$LINENO: result: no" >&5 |
10800 echo "${ECHO_T}no" >&6; } | 10829 echo "${ECHO_T}no" >&6; } |
10801 fi | 10830 fi |
10802 | 10831 |
10803 | 10832 |
10804 fi | |
10805 | 10833 |
10806 if test "$PKG_CONFIG" = "no" ; then | 10834 if test "$PKG_CONFIG" = "no" ; then |
10807 pkg_check_gtk=no | 10835 pkg_check_gtk=no |
10808 else | 10836 else |
10809 PKG_CONFIG_MIN_VERSION=0.9.0 | 10837 PKG_CONFIG_MIN_VERSION=0.9.0 |
11513 fi | 11541 fi |
11514 fi | 11542 fi |
11515 fi | 11543 fi |
11516 | 11544 |
11517 HAVE_DBUS=no | 11545 HAVE_DBUS=no |
11546 { echo "$as_me:$LINENO: checking maybe dbus" >&5 | |
11547 echo $ECHO_N "checking maybe dbus... $ECHO_C" >&6; } | |
11518 if test "${with_dbus}" = "yes"; then | 11548 if test "${with_dbus}" = "yes"; then |
11519 | 11549 |
11520 succeeded=no | 11550 succeeded=no |
11521 | 11551 |
11522 if test -z "$PKG_CONFIG"; then | 11552 # Extract the first word of "pkg-config", so it can be a program name with args. |
11523 # Extract the first word of "pkg-config", so it can be a program name with args. | |
11524 set dummy pkg-config; ac_word=$2 | 11553 set dummy pkg-config; ac_word=$2 |
11525 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 11554 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
11526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 11555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
11527 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 11556 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
11528 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11557 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11559 { echo "$as_me:$LINENO: result: no" >&5 | 11588 { echo "$as_me:$LINENO: result: no" >&5 |
11560 echo "${ECHO_T}no" >&6; } | 11589 echo "${ECHO_T}no" >&6; } |
11561 fi | 11590 fi |
11562 | 11591 |
11563 | 11592 |
11564 fi | |
11565 | 11593 |
11566 if test "$PKG_CONFIG" = "no" ; then | 11594 if test "$PKG_CONFIG" = "no" ; then |
11567 HAVE_DBUS=no | 11595 HAVE_DBUS=no |
11568 else | 11596 else |
11569 PKG_CONFIG_MIN_VERSION=0.9.0 | 11597 PKG_CONFIG_MIN_VERSION=0.9.0 |
11617 cat >>confdefs.h <<\_ACEOF | 11645 cat >>confdefs.h <<\_ACEOF |
11618 #define HAVE_DBUS 1 | 11646 #define HAVE_DBUS 1 |
11619 _ACEOF | 11647 _ACEOF |
11620 | 11648 |
11621 fi | 11649 fi |
11650 { echo "$as_me:$LINENO: result: $HAVE_DBUS" >&5 | |
11651 echo "${ECHO_T}$HAVE_DBUS" >&6; } | |
11652 else | |
11653 { echo "$as_me:$LINENO: result: no bub" >&5 | |
11654 echo "${ECHO_T}no bub" >&6; } | |
11622 fi | 11655 fi |
11623 | 11656 |
11624 ### Link with -lXft if available to work around a bug. | 11657 ### Link with -lXft if available to work around a bug. |
11625 HAVE_XFT=maybe | 11658 HAVE_XFT=maybe |
11626 if test "${HAVE_GTK}" = "yes"; then | 11659 if test "${HAVE_GTK}" = "yes"; then |
11627 if test "X${with_pkg_config_prog}" != X; then | |
11628 PKG_CONFIG="${with_pkg_config_prog}" | |
11629 fi | |
11630 | |
11631 | 11660 |
11632 succeeded=no | 11661 succeeded=no |
11633 | 11662 |
11634 if test -z "$PKG_CONFIG"; then | 11663 # Extract the first word of "pkg-config", so it can be a program name with args. |
11635 # Extract the first word of "pkg-config", so it can be a program name with args. | |
11636 set dummy pkg-config; ac_word=$2 | 11664 set dummy pkg-config; ac_word=$2 |
11637 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 11665 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
11638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 11666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
11639 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 11667 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
11640 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11668 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11671 { echo "$as_me:$LINENO: result: no" >&5 | 11699 { echo "$as_me:$LINENO: result: no" >&5 |
11672 echo "${ECHO_T}no" >&6; } | 11700 echo "${ECHO_T}no" >&6; } |
11673 fi | 11701 fi |
11674 | 11702 |
11675 | 11703 |
11676 fi | |
11677 | 11704 |
11678 if test "$PKG_CONFIG" = "no" ; then | 11705 if test "$PKG_CONFIG" = "no" ; then |
11679 HAVE_XFT=no | 11706 HAVE_XFT=no |
11680 else | 11707 else |
11681 PKG_CONFIG_MIN_VERSION=0.9.0 | 11708 PKG_CONFIG_MIN_VERSION=0.9.0 |
18097 /* confdefs.h. */ | 18124 /* confdefs.h. */ |
18098 _ACEOF | 18125 _ACEOF |
18099 cat confdefs.h >>conftest.$ac_ext | 18126 cat confdefs.h >>conftest.$ac_ext |
18100 cat >>conftest.$ac_ext <<_ACEOF | 18127 cat >>conftest.$ac_ext <<_ACEOF |
18101 /* end confdefs.h. */ | 18128 /* end confdefs.h. */ |
18102 #include <stdio.h> | 18129 #include <sys/types.h> /* for off_t */ |
18130 #include <stdio.h> | |
18103 int | 18131 int |
18104 main () | 18132 main () |
18105 { | 18133 { |
18106 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); | 18134 int (*fp) (FILE *, off_t, int) = fseeko; |
18135 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | |
18107 ; | 18136 ; |
18108 return 0; | 18137 return 0; |
18109 } | 18138 } |
18110 _ACEOF | 18139 _ACEOF |
18111 rm -f conftest.$ac_objext conftest$ac_exeext | 18140 rm -f conftest.$ac_objext conftest$ac_exeext |
18141 _ACEOF | 18170 _ACEOF |
18142 cat confdefs.h >>conftest.$ac_ext | 18171 cat confdefs.h >>conftest.$ac_ext |
18143 cat >>conftest.$ac_ext <<_ACEOF | 18172 cat >>conftest.$ac_ext <<_ACEOF |
18144 /* end confdefs.h. */ | 18173 /* end confdefs.h. */ |
18145 #define _LARGEFILE_SOURCE 1 | 18174 #define _LARGEFILE_SOURCE 1 |
18146 #include <stdio.h> | 18175 #include <sys/types.h> /* for off_t */ |
18176 #include <stdio.h> | |
18147 int | 18177 int |
18148 main () | 18178 main () |
18149 { | 18179 { |
18150 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); | 18180 int (*fp) (FILE *, off_t, int) = fseeko; |
18181 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | |
18151 ; | 18182 ; |
18152 return 0; | 18183 return 0; |
18153 } | 18184 } |
18154 _ACEOF | 18185 _ACEOF |
18155 rm -f conftest.$ac_objext conftest$ac_exeext | 18186 rm -f conftest.$ac_objext conftest$ac_exeext |