/[beaver]/beaver/configure.ac
ViewVC logotype

Diff of /beaver/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by skypher, Fri Jun 13 12:55:12 2003 UTC revision 1.13 by skypher, Sat Jun 14 17:41:34 2003 UTC
# Line 15  AM_MAINTAINER_MODE Line 15  AM_MAINTAINER_MODE
15    
16  # Checks for programs.  # Checks for programs.
17  AC_PROG_CC  AC_PROG_CC
18  AC_PROG_CPP # needed by libtool  AC_PROG_CPP
 dnl AC_PROG_CXX # needed by libtool  
19  AC_PROG_MAKE_SET  AC_PROG_MAKE_SET
20  AC_PROG_LIBTOOL  AC_PROG_LIBTOOL
21  AC_PROG_INSTALL  AC_PROG_INSTALL
# Line 47  AC_CHECK_FUNCS([memcpy bcopy memset]) Line 46  AC_CHECK_FUNCS([memcpy bcopy memset])
46  AC_CHECK_FUNCS([gettimeofday mkdir])  AC_CHECK_FUNCS([gettimeofday mkdir])
47  AC_CHECK_FUNCS([strcasecmp strchr strdup strncasecmp strrchr strstr])  AC_CHECK_FUNCS([strcasecmp strchr strdup strncasecmp strrchr strstr])
48    
49    #####################
50    # --disable-libtool #
51    #####################
52    #AC_ARG_ENABLE(
53    #       [libtool],
54    #       AC_HELP_STRING(
55    #               [--enable-libtool],
56    #               [Disable use of libtool [[enable]]]
57    #       ),
58    #       [
59    #               if test "x$enableval" = "xyes"; then
60    #                       AC_PROG_LIBTOOL
61    #               fi
62    #       ],
63    #       [
64    #               AC_PROG_LIBTOOL
65    #       ]
66    #)
67    
68    
69    ##################
70    # --enable-debug #
71    ##################
72  AC_ARG_ENABLE(  AC_ARG_ENABLE(
73          [debug],          [debug],
74          AC_HELP_STRING(          AC_HELP_STRING(
75                  [--enable-debug],                  [--enable-debug],
76                  [Enable debugging symbols (-ggdb) [no]]                  [Enable debugging symbols (-ggdb) [[no]]]
77          ),          ),
78          [          [
79                  if test "x$enableval" = "xyes"; then                  if test "x$enableval" = "xyes"; then
80                          DEBUG_CFLAGS="-ggdb"                          DEBUG_CFLAGS="-ggdb"
81                            AH_TEMPLATE([DEBUG], [Define if debugging])
82                            AC_DEFINE([DEBUG])
83                  else                  else
84                          DEBUG_CFLAGS=                          DEBUG_CFLAGS=
85                  fi                  fi
# Line 64  AC_ARG_ENABLE( Line 88  AC_ARG_ENABLE(
88                  DEBUG_CFLAGS=                  DEBUG_CFLAGS=
89          ]          ]
90  )  )
   
91  AC_SUBST(DEBUG_CFLAGS)  AC_SUBST(DEBUG_CFLAGS)
92    
93    
94    ##################
95    # --with-dmalloc #
96    ##################
97    #AC_ARG_WITH([dmalloc],
98    #       AC_HELP_STRING([--with-dmalloc], [Enable dmalloc [[no]]]), [if test "x$enableval" = "xyes"; then
99    #                       AC_CHECK_HEADER([dmalloc.h],
100    #                               [DMALLOC_CPPFLAGS="-DDMALLOC"],
101    #                               AC_MSG_ERROR([dmalloc integration requested but dmalloc header not found.], 1)
102    #                       )
103    #                       AC_CHECK_LIB([dmalloc],
104    #                               [dmalloc_verify],
105    #                               [#1],
106    #                               AC_MSG_ERROR([dmalloc integration requested but dmalloc library not found.], 1)
107    #                       )])
108    
109    
110    # required packages
111  PKG_CHECK_MODULES(  PKG_CHECK_MODULES(
112          PKG,          PKG,
113          gtk+-2.0 >= 2.0          gtk+-2.0 >= 2.0
114          gtksourceview-1.0 >= 0.2          gtksourceview-1.0 >= 0.2
115  )  )
   
116  AC_SUBST(PKG_CFLAGS)  AC_SUBST(PKG_CFLAGS)
117  AC_SUBST(PKG_LIBS)  AC_SUBST(PKG_LIBS)
118    
119    # more or less fixed info
120    AH_TEMPLATE([COMPILE_USER], [Define to the compiling user])
121    AH_TEMPLATE([COMPILE_HOST], [Define to the compiling host])
122    AH_TEMPLATE([COMPILE_TIME], [Define to the compile date and time])
123    AH_TEMPLATE([APP_URL], [Application URL])
124    AH_TEMPLATE([APP_MOTTO], [Application Motto])
125    
126    AC_DEFINE([COMPILE_USER], ["`whoami`"])
127    AC_DEFINE([COMPILE_HOST], ["`uname -n`"])
128    AC_DEFINE([COMPILE_TIME], ["`date`"])
129    AC_DEFINE([APP_URL], ["http://www.nongnu.org/beaver"])
130    AC_DEFINE([APP_MOTTO], ["Beaver's an Early AdVanced EditoR"])
131    
132    
133  AC_OUTPUT([intl/Makefile \  AC_OUTPUT([intl/Makefile \
134          po/Makefile.in \          po/Makefile.in \
135          m4/Makefile \          m4/Makefile \

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26