*.bz2
*.gz
*~
+/arg-nonnull.h
+/c++defs.h
+/warn-on-use.h
Makefile
Makefile.in
aclocal.m4
gmon.out
gtk-doc.make
install-sh
+lib
libtool
local
ltmain.sh
-SUBDIRS = src data docs
+SUBDIRS = lib src data docs
ACLOCAL_AMFLAGS = -I m4
configure depcomp gtk-doc.make install-sh ltmain.sh \
Makefile.in missing
+EXTRA_DIST = m4/gnulib-cache.m4
+
test: all
(cd src && make test)
#!/bin/sh
+gnulib-tool --no-vc-files --import strptime
+
libtoolize
-aclocal
+aclocal -I m4
+autoconf
autoheader
automake -a -c
-autoconf
# Run configure
./configure "$@"
# Check for required programs
AC_PROG_CC
+gl_EARLY
AC_PROG_LIBTOOL
PKG_PROG_PKG_CONFIG
+gl_INIT
# Check for required packages
PKG_CHECK_MODULES(GLIB, glib-2.0)
# Output
AC_CONFIG_FILES([
Makefile
+ lib/Makefile
src/Makefile
src/plugins/Makefile
data/Makefile
--- /dev/null
+#!/bin/bash
+dir=$(dirname $(readlink -f $0))
+PKG_CONFIG_PATH="../libgis-win32/src/" \
+./autogen.sh \
+ "--host=i686-pc-mingw32" \
+ "--datadir=Z:$dir/data/" \
+ "--libdir=Z:$dir/src/plugins/" \
+ CFLAGS="-g -Werror -Wno-unused $CFLAGS"
level2.c level2.h \
../aweather-colormap.c \
../aweather-location.c
+radar_la_LIBADD = $(addprefix $(top_srcdir)/lib/,$(gl_LTLIBOBJS))
radar_la_LDFLAGS = $(AM_LDFLAGS) $(RSL_LIBS)
endif
*/
#define _XOPEN_SOURCE
-#include <time.h>
+#include <sys/time.h>
#include <config.h>
#include <glib/gstdio.h>
#include <gtk/gtk.h>
return 0;
}
- FILE *input = fopen(argv[1], "r");
- FILE *output = fopen(argv[2], "w+");
+ FILE *input = fopen(argv[1], "rb");
+ FILE *output = fopen(argv[2], "wb+");
if (!input) g_error("error opening input");
if (!output) g_error("error opening output");