mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
42c50382f1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@184 a592a061-630c-0410-9148-cb99ea01b6c8
26 lines
700 B
Bash
26 lines
700 B
Bash
dnl Process with autoconf to generate configure script -*- sh -*-
|
|
AC_INIT(reLyX.in)
|
|
AC_PREREQ(2.13) dnl We want to use autoconf 2.13
|
|
AC_PREFIX_PROGRAM(reLyX)
|
|
AC_CONFIG_AUX_DIR(../../config)
|
|
|
|
dnl PACKAGE=reLyX
|
|
dnl Do this to install in $datadir/lyx/reLyX instead of $datadir/reLyX/reLyX
|
|
PACKAGE=lyx
|
|
VERSION=2.0
|
|
dnl must make a macro that gets the reLyX version
|
|
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
|
|
|
|
dnl Checks for programs.
|
|
AC_PROG_INSTALL
|
|
RELYX_CHECK_PERL
|
|
|
|
dnl Finish the work
|
|
test $program_suffix = NONE && program_suffix=
|
|
LYX_DIR=`eval "echo \`eval \"echo ${datadir}/lyx${program_suffix}\"\`"`
|
|
AC_SUBST(LYX_DIR)
|
|
|
|
AC_OUTPUT(Makefile reLyX noweb2lyx, chmod 755 reLyX noweb2lyx)
|
|
|
|
RELYX_CHECK_ERRORS
|