X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=38085adf683f17aa60887f9ac7640e2dc65af0f0;hb=e5e65c031c05dee8caa0995219c208ecd5e80dde;hp=8dd5ef27432e24ef255ee76eeb5e726764fdd5b1;hpb=e88bc302c24bfdc21144a4444e0e4eef6fabd385;p=lyx.git diff --git a/configure.ac b/configure.ac index 8dd5ef2743..38085adf68 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ -vdnl Process with autoconf to generate configure script -*- sh -*- +dnl Process with autoconf to generate configure script -*- sh -*- -AC_INIT(LyX,1.6.0beta4,[lyx-devel@lists.lyx.org],[lyx]) -AC_SUBST(LYX_DATE, ["Fri, Jul 11, 2008"]) +AC_INIT(LyX,1.6.0svn,[lyx-devel@lists.lyx.org],[lyx]) +AC_SUBST(LYX_DATE, ["Fri, Aug 1, 2008"]) AC_PREREQ(2.52) AC_CONFIG_SRCDIR(src/main.cpp) AC_CONFIG_HEADERS([config.h]) @@ -34,8 +34,8 @@ for file in config/install-sh config/mkinstalldirs ; do done ### Check for programs -AC_PROG_MAKE_SET -AC_PROG_INSTALL +dnl AC_PROG_MAKE_SET +dnl AC_PROG_INSTALL # Check for installed python AM_PATH_PYTHON(2.3,, :) @@ -48,11 +48,7 @@ INSTALL_SCRIPT='${INSTALL}' ### we will also need a C compiler to compile GNU gettext AC_PROG_CC -AC_GNU_SOURCE - -### check for special systems -AC_ISC_POSIX -AC_AIX +AC_USE_SYSTEM_EXTENSIONS ### we need to know the byte order for unicode conversions AC_C_BIGENDIAN @@ -224,6 +220,10 @@ fi ### Setup GNU gettext dnl GNU gettext is written in C AC_LANG_PUSH(C) +dnl Dirty trick ahead: disable macro AC_GNU_SOURCE because it triggers a bug with autoconf 2.62. +dnl this can be removed if gettext is been updated to avoid that. +m4_undefine([AC_GNU_SOURCE]) +m4_defun([AC_GNU_SOURCE],[]) AM_GNU_GETTEXT AM_GNU_GETTEXT_VERSION([0.16.1]) AC_LANG_POP(C) @@ -451,6 +451,8 @@ AC_DEFINE_UNQUOTED([PROGRAM_SUFFIX], AC_DEFINE_UNQUOTED([LYX_DATE],"$LYX_DATE",[Date of release]) AC_DEFINE_UNQUOTED([VERSION_INFO],"$VERSION_INFO",[Full version info]) +AC_DEFINE_UNQUOTED([LYX_DIR_VER],"$lyx_dir_ver",[Versioned env var for system dir]) +AC_DEFINE_UNQUOTED([LYX_USERDIR_VER],"$lyx_userdir_ver",[Versioned env var for user dir]) AC_DEFINE_UNQUOTED([LYX_MAJOR_VERSION],$lyx_major,[Major version number]) AC_DEFINE_UNQUOTED([LYX_MINOR_VERSION],$lyx_minor,[Minor version number]) AC_DEFINE_UNQUOTED([LYX_RELEASE_LEVEL],$lyx_release,[Release version number])