Added #include <locale.h>

1998-02-12  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* main.c: Added #include <locale.h>

1998-02-12  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* configure.in: Added intl/Makefile to the AC_OUTPUT list.

svn path=/trunk/; revision=18
This commit is contained in:
Federico Mena Quintero
1998-02-12 22:47:07 +00:00
committed by Arturo Espinosa
parent 3607d20df4
commit 587bcc9456
3 changed files with 63 additions and 22 deletions

View File

@ -60,7 +60,7 @@ host_triplet = alphaev5-unknown-linux-gnu
CATALOGS = CATALOGS =
CATOBJEXT = .gmo CATOBJEXT = .gmo
CC = gcc CC = gcc
CFLAGS = -g -O2 CFLAGS = -Wall -g -I/da/share/gnome-install/include
CPP = gcc -E CPP = gcc -E
CPPFLAGS = CPPFLAGS =
CXX = c++ CXX = c++
@ -68,9 +68,12 @@ DATADIRNAME = share
GENCAT = GENCAT =
GMOFILES = GMOFILES =
GMSGFMT = /usr/bin/msgfmt GMSGFMT = /usr/bin/msgfmt
GNOMEUI_LIBS = -lgnomeui -lgtk -lgdk -lglib -lm -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lSM -lICE -lgnome GNOMEINCLUDE_DIR =
GNOME_LIBS = -lgnome GNOMELIB_DIR =
GTKXMHTML_LIBS = -lgtkxmhtml -lgtk -lgdk -lglib -lm -lXpm -ljpeg -lz -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lSM -lICE GNOMEUI_LIBS = -lgnomeui -lgnome -ldl -lgtk -lgdk -lglib -lm -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lSM -lICE
GNOME_LIBS = -lgnome -ldl
GTKXMHTML_LIBS = -lgtkxmhtml -lgtk -lgdk -lglib -lm -lXpm -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -lSM -lICE
GTK_LIBS = @GTK_LIBS@
GT_NO = GT_NO =
GT_YES = #YES# GT_YES = #YES#
GUILE_LIBS = -lguile GUILE_LIBS = -lguile
@ -80,7 +83,7 @@ INTLDEPS =
INTLLIBS = INTLLIBS =
INTLOBJS = INTLOBJS =
LD = /usr/bin/ld LD = /usr/bin/ld
LDFLAGS = LDFLAGS = -L/da/share/gnome-install/lib
LEX = flex LEX = flex
LIBTOOL = $(SHELL) $(top_builddir)/libtool LIBTOOL = $(SHELL) $(top_builddir)/libtool
LN_S = ln -s LN_S = ln -s
@ -94,6 +97,7 @@ POFILES =
POSUB = po POSUB = po
PROGRAMS_GENIUS = PROGRAMS_GENIUS =
PROGRAMS_GTOP = gtop PROGRAMS_GTOP = gtop
PTHREAD_LIB = @PTHREAD_LIB@
QTTHREADS_LIB = QTTHREADS_LIB =
RANLIB = ranlib RANLIB = ranlib
READLINE_LIB = READLINE_LIB =
@ -101,16 +105,22 @@ TERMCAP_LIB =
USE_INCLUDED_LIBINTL = no USE_INCLUDED_LIBINTL = no
USE_NLS = yes USE_NLS = yes
VERSION = 0.12 VERSION = 0.12
XPM_LIBS = @XPM_LIBS@
YACC = YACC =
l = l =
x_libs = @x_libs@
INCLUDES = \ INCLUDES = \
-I$(includedir) \ -I$(includedir)
$(X_CFLAGS)
bin_PROGRAMS = gncal bin_PROGRAMS = gncal
gncal_SOURCES = \ gncal_SOURCES = \
gncal.c \
gncal.h \
calcs.c \
calcs.h
gncal_LDADD = \ gncal_LDADD = \
$(GNOMEUI_LIBS) $(GNOMEUI_LIBS)
@ -128,10 +138,16 @@ PROGRAMS = $(bin_PROGRAMS)
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.. DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
LIBS = LIBS =
gncal_OBJECTS = X_CFLAGS = @X_CFLAGS@
gncal_LDADD = $(LDADD) X_LIBS = @X_LIBS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
X_PRE_LIBS = @X_PRE_LIBS@
gncal_OBJECTS = gncal.o calcs.o
gncal_DEPENDENCIES = gncal_DEPENDENCIES =
gncal_LDFLAGS = gncal_LDFLAGS =
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
DATA = $(Productivity_DATA) DATA = $(Productivity_DATA)
DIST_COMMON = ChangeLog Makefile.am Makefile.in DIST_COMMON = ChangeLog Makefile.am Makefile.in
@ -141,6 +157,7 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar TAR = tar
GZIP = --best GZIP = --best
DEP_FILES = .deps/calcs.P .deps/gncal.P
SOURCES = $(gncal_SOURCES) SOURCES = $(gncal_SOURCES)
OBJECTS = $(gncal_OBJECTS) OBJECTS = $(gncal_OBJECTS)
@ -266,6 +283,32 @@ distdir: $(DISTFILES)
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file; \ || cp -p $$d/$$file $(distdir)/$$file; \
done done
MKDEP = $(CC) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
-include .deps/.P
.deps/.P: $(BUILT_SOURCES)
echo > $@
-include $(DEP_FILES)
mostlyclean-depend:
clean-depend:
distclean-depend:
maintainer-clean-depend:
-rm -rf .deps
.deps/%.P: %.c
@echo "Computing dependencies for $<..."
@o='o'; \
test -n "$o" && o='$$o'; \
$(MKDEP) $< >$@.tmp \
&& sed "s,^\(.*\)\.o:,\1.$$o \1.l$$o $@:," < $@.tmp > $@ \
&& rm -f $@.tmp
info: info:
dvi: dvi:
check: all check: all
@ -305,20 +348,21 @@ maintainer-clean-generic:
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
mostlyclean: mostlyclean-binPROGRAMS mostlyclean-compile \ mostlyclean: mostlyclean-binPROGRAMS mostlyclean-compile \
mostlyclean-libtool mostlyclean-tags \ mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
mostlyclean-generic mostlyclean-generic
clean: clean-binPROGRAMS clean-compile clean-libtool clean-tags \ clean: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
clean-generic mostlyclean clean-depend clean-generic mostlyclean
distclean: distclean-binPROGRAMS distclean-compile distclean-libtool \ distclean: distclean-binPROGRAMS distclean-compile distclean-libtool \
distclean-tags distclean-generic clean distclean-tags distclean-depend distclean-generic clean
-rm -f config.status -rm -f config.status
-rm -f libtool -rm -f libtool
maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \ maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \
maintainer-clean-libtool maintainer-clean-tags \ maintainer-clean-libtool maintainer-clean-tags \
maintainer-clean-generic distclean maintainer-clean-depend maintainer-clean-generic \
distclean
@echo "This command is intended for maintainers to use;" @echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild." @echo "it deletes files that may require special tools to rebuild."
@ -328,9 +372,10 @@ install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile mostlyclean-libtool distclean-libtool \ maintainer-clean-compile mostlyclean-libtool distclean-libtool \
clean-libtool maintainer-clean-libtool uninstall-ProductivityDATA \ clean-libtool maintainer-clean-libtool uninstall-ProductivityDATA \
install-ProductivityDATA tags mostlyclean-tags distclean-tags \ install-ProductivityDATA tags mostlyclean-tags distclean-tags \
clean-tags maintainer-clean-tags distdir info dvi installcheck \ clean-tags maintainer-clean-tags distdir mostlyclean-depend \
install-exec install-data install uninstall all installdirs \ distclean-depend clean-depend maintainer-clean-depend info dvi \
mostlyclean-generic distclean-generic clean-generic \ installcheck install-exec install-data install uninstall all \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean maintainer-clean-generic clean mostlyclean distclean maintainer-clean

View File

@ -1,7 +1,5 @@
INCLUDES = \ INCLUDES = \
-I$(includedir) \ -I$(includedir)
$(X_CFLAGS)
bin_PROGRAMS = gncal bin_PROGRAMS = gncal

View File

@ -1,7 +1,5 @@
INCLUDES = \ INCLUDES = \
-I$(includedir) \ -I$(includedir)
$(X_CFLAGS)
bin_PROGRAMS = gncal bin_PROGRAMS = gncal