X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=054da29f9a25771a6537d02f23ed8f225de4cedf;hb=079ef62651e0422c45f00968b8814aeaae858d3b;hp=5d4a100989b96ff9fa08e06bf068d9fad9e27693;hpb=f227016f3d130bbeb1c18e2192db086fd16ea24f;p=lyx.git diff --git a/configure.ac b/configure.ac index 5d4a100989..054da29f9a 100644 --- a/configure.ac +++ b/configure.ac @@ -112,46 +112,10 @@ LYX_ADD_INC_DIR(CPPFLAGS,$dir/include) ### These are needed in windows AC_CHECK_LIB(shlwapi, main, [LIBSHLWAPI=-lshlwapi]) AC_SUBST(LIBSHLWAPI) +AC_CHECK_LIB(psapi, main, [LIBPSAPI=-lpsapi]) +AC_SUBST(LIBPSAPI) AC_CHECK_LIB(gdi32, main) -AC_ARG_WITH(mythes, - [ --without-mythes do not use the MyThes library], - [lyx_use_mythes=$withval]) -if test x$lyx_use_mythes != xno; then -AC_CHECK_LIB(mythes, main, - [AC_DEFINE(HAVE_LIBMYTHES,1,[Define this if you have the MyThes library]) - MYTHES_LIBS="-lmythes" - lyx_flags="mythes $lyx_flags" - ]) -AC_CHECK_HEADER(mythes.hxx,[ - ac_cv_header_mythes_h=yes - lyx_cv_mythes_h_location=""]) -AC_CHECK_HEADER(mythes/mythes.hxx,[ - ac_cv_header_mythes_h=yes - lyx_cv_mythes_h_location=""]) -AC_DEFINE_UNQUOTED(MYTHES_H_LOCATION,$lyx_cv_mythes_h_location,[Location of mythes.hxx]) -fi -AC_SUBST(MYTHES_LIBS) - -AC_ARG_WITH(aiksaurus, - [ --without-aiksaurus do not use the Aiksaurus library], - [lyx_use_aiksaurus=$withval]) -if test x$lyx_use_aiksaurus != xno; then -AC_CHECK_LIB(Aiksaurus, main, - [AC_DEFINE(HAVE_LIBAIKSAURUS,1,[Define this if you have the AikSaurus library]) - AIKSAURUS_LIBS="-lAiksaurus" - lyx_flags="aiksaurus $lyx_flags" - ]) -AC_CHECK_HEADER(Aiksaurus.h,[ - ac_cv_header_aiksaurus_h=yes - lyx_cv_aiksaurus_h_location=""]) -AC_CHECK_HEADER(Aiksaurus/Aiksaurus.h,[ - ac_cv_header_aiksaurus_h=yes - lyx_cv_aiksaurus_h_location=""]) -AC_DEFINE_UNQUOTED(AIKSAURUS_H_LOCATION,$lyx_cv_aiksaurus_h_location,[Location of Aiksaurus.h]) -fi -AC_SUBST(AIKSAURUS_LIBS) - LYX_USE_INCLUDED_BOOST # Needed for our char_type