comparison configure.in @ 111179:e1e1a3a49919

* configure.in (checking for -znocombreloc): Use AC_LANG_PROGRAM to avoid warning.
author Andreas Schwab <schwab@linux-m68k.org>
date Mon, 25 Oct 2010 19:23:45 +0200
parents 25f363b1aa1f
children 393b44bc9757
comparison
equal deleted inserted replaced
111178:b2ce1b10b56f 111179:e1e1a3a49919
867 else 867 else
868 LDFLAGS="$LDFLAGS -znocombreloc" 868 LDFLAGS="$LDFLAGS -znocombreloc"
869 fi 869 fi
870 870
871 AC_MSG_CHECKING([for -znocombreloc]) 871 AC_MSG_CHECKING([for -znocombreloc])
872 AC_LINK_IFELSE([main(){return 0;}], 872 AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
873 [AC_MSG_RESULT(yes)], 873 [AC_MSG_RESULT(yes)],
874 LDFLAGS=$late_LDFLAGS 874 LDFLAGS=$late_LDFLAGS
875 [AC_MSG_RESULT(no)]) 875 [AC_MSG_RESULT(no)])
876 876
877 877
3710 3710
3711 echo " Does Emacs use -lgpm? ${HAVE_GPM}" 3711 echo " Does Emacs use -lgpm? ${HAVE_GPM}"
3712 echo " Does Emacs use -ldbus? ${HAVE_DBUS}" 3712 echo " Does Emacs use -ldbus? ${HAVE_DBUS}"
3713 echo " Does Emacs use -lgconf? ${HAVE_GCONF}" 3713 echo " Does Emacs use -lgconf? ${HAVE_GCONF}"
3714 echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}" 3714 echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}"
3715 echo " Does Emacs use -lgnutls? ${HAVE_GNUTLS}" 3715 echo " Does Emacs use -lgnutls? ${HAVE_GNUTLS}"
3716 echo " Does Emacs use -lxml2? ${HAVE_LIBXML2}" 3716 echo " Does Emacs use -lxml2? ${HAVE_LIBXML2}"
3717 3717
3718 echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}" 3718 echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}"
3719 echo " Does Emacs use -lm17n-flt? ${HAVE_M17N_FLT}" 3719 echo " Does Emacs use -lm17n-flt? ${HAVE_M17N_FLT}"
3720 echo " Does Emacs use -lotf? ${HAVE_LIBOTF}" 3720 echo " Does Emacs use -lotf? ${HAVE_LIBOTF}"