mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
1fd5e5ed97
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@411 a592a061-630c-0410-9148-cb99ea01b6c8
30 lines
826 B
Bash
30 lines
826 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_CONFIG_AUX_DIR(../../config)
|
|
|
|
dnl PACKAGE=reLyX
|
|
dnl Do this to install in $datadir/lyx/reLyX instead of $datadir/reLyX/reLyX
|
|
|
|
AC_ARG_WITH(lyxname,
|
|
[ --with-lyxname the name under which lyx will be installed],
|
|
[lyxname=$withval],[lyxname=lyx])
|
|
|
|
dnl must make a macro that gets the reLyX version
|
|
VERSION=2.0
|
|
AM_INIT_AUTOMAKE($lyxname, $VERSION)
|
|
|
|
AC_PREFIX_PROGRAM(reLyX)
|
|
# fix the value of the prefixes.
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
|
|
|
dnl Checks for programs.
|
|
AC_PROG_INSTALL
|
|
RELYX_CHECK_PERL
|
|
|
|
dnl Finish the work
|
|
AC_OUTPUT(Makefile reLyX noweb2lyx, chmod 755 reLyX noweb2lyx)
|
|
|
|
RELYX_CHECK_ERRORS
|