debian support

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
James Michael DuPont 2003-03-12 19:54:32 +00:00
commit a3e7a4580e
2 changed files with 24 additions and 0 deletions

View file

@ -11,7 +11,15 @@
#include <stdlib.h>
#include <string.h>
#ifdef WIN32
#define DllExport __declspec( dllexport )
#else
/*
This is not needed for unix
*/
#define DllExport
#endif
%}
/* The jni, jtype and jstype typemaps work together and so there should be one of each.

16
autogen-debian.sh Executable file
View file

@ -0,0 +1,16 @@
#! /bin/sh
# Bootstrap the development environment - add extra files needed to run configure.
# Note autoreconf should do what this file achieves, but it has a bug when working with automake!
# The latest config.guess and config.sub should be copied into Tools/config and checked into CVS
# when upgrading the autotools. Otherwise this script will ensure the latest is copied from
# your autotool installation.
set -x
test -d Tools/config || mkdir Tools/config
aclocal-1.7 -I Tools/config
autoheader2.50
automake-1.7 --add-missing --copy --force-missing
autoconf2.50
(cd Tools; autoconf2.50)