Mercurial > emacs
comparison configure.in @ 112302:c428fb33aede
Automate syncing from gnulib.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sat, 08 Jan 2011 13:02:38 -0800 |
parents | 4dbda0e7c8bf |
children | 1bd15f32eeb7 |
comparison
equal
deleted
inserted
replaced
112164:afa244de82cd | 112302:c428fb33aede |
---|---|
25 | 25 |
26 AC_PREREQ(2.65) | 26 AC_PREREQ(2.65) |
27 AC_INIT(emacs, 24.0.50) | 27 AC_INIT(emacs, 24.0.50) |
28 AC_CONFIG_HEADER(src/config.h:src/config.in) | 28 AC_CONFIG_HEADER(src/config.h:src/config.in) |
29 AC_CONFIG_SRCDIR(src/lisp.h) | 29 AC_CONFIG_SRCDIR(src/lisp.h) |
30 AM_INIT_AUTOMAKE | |
30 | 31 |
31 dnl Support for --program-prefix, --program-suffix and | 32 dnl Support for --program-prefix, --program-suffix and |
32 dnl --program-transform-name options | 33 dnl --program-transform-name options |
33 AC_ARG_PROGRAM | 34 AC_ARG_PROGRAM |
34 | 35 |
636 # Save the value of CFLAGS that the user specified. | 637 # Save the value of CFLAGS that the user specified. |
637 SPECIFIED_CFLAGS="$CFLAGS" | 638 SPECIFIED_CFLAGS="$CFLAGS" |
638 | 639 |
639 dnl Sets GCC=yes if using gcc. | 640 dnl Sets GCC=yes if using gcc. |
640 AC_PROG_CC | 641 AC_PROG_CC |
642 AM_PROG_CC_C_O | |
643 | |
644 # Initialize gnulib right after verifying that the C compiler works. | |
645 gl_EARLY | |
641 | 646 |
642 # On Suns, sometimes $CPP names a directory. | 647 # On Suns, sometimes $CPP names a directory. |
643 if test -n "$CPP" && test -d "$CPP"; then | 648 if test -n "$CPP" && test -d "$CPP"; then |
644 CPP= | 649 CPP= |
645 fi | 650 fi |
2666 ]) | 2671 ]) |
2667 AC_SUBST(GETOPTOBJS) | 2672 AC_SUBST(GETOPTOBJS) |
2668 | 2673 |
2669 AC_FUNC_GETPGRP | 2674 AC_FUNC_GETPGRP |
2670 | 2675 |
2676 # Configure gnulib. | |
2677 gl_INIT | |
2678 | |
2671 AC_FUNC_STRFTIME | 2679 AC_FUNC_STRFTIME |
2672 | 2680 |
2673 # UNIX98 PTYs. | 2681 # UNIX98 PTYs. |
2674 AC_CHECK_FUNCS(grantpt) | 2682 AC_CHECK_FUNCS(grantpt) |
2675 | 2683 |
3745 dnl eg gamedir=${prefix}/var/games/emacs. | 3753 dnl eg gamedir=${prefix}/var/games/emacs. |
3746 dnl Secondly, the GNU Coding standards require that one should be able | 3754 dnl Secondly, the GNU Coding standards require that one should be able |
3747 dnl to run `make prefix=/some/where/else' and override the values set | 3755 dnl to run `make prefix=/some/where/else' and override the values set |
3748 dnl by configure. This also explains the `move-if-change' test and | 3756 dnl by configure. This also explains the `move-if-change' test and |
3749 dnl the use of force in the `epaths-force' rule in Makefile.in. | 3757 dnl the use of force in the `epaths-force' rule in Makefile.in. |
3750 AC_OUTPUT(Makefile lib-src/Makefile oldXMenu/Makefile \ | 3758 AC_OUTPUT(Makefile lib/Makefile lib-src/Makefile oldXMenu/Makefile \ |
3751 doc/emacs/Makefile doc/misc/Makefile doc/lispintro/Makefile \ | 3759 doc/emacs/Makefile doc/misc/Makefile doc/lispintro/Makefile \ |
3752 doc/lispref/Makefile src/Makefile \ | 3760 doc/lispref/Makefile src/Makefile \ |
3753 lwlib/Makefile lisp/Makefile leim/Makefile, [ | 3761 lwlib/Makefile lisp/Makefile leim/Makefile, [ |
3754 | 3762 |
3755 ### Make the necessary directories, if they don't exist. | 3763 ### Make the necessary directories, if they don't exist. |