Pike - a few updates to get Pike 7.8 running most of the examples
This commit is contained in:
parent
7fd18b361e
commit
62638bfd15
4 changed files with 18 additions and 12 deletions
|
|
@ -2,4 +2,6 @@
|
||||||
class
|
class
|
||||||
constants
|
constants
|
||||||
enum
|
enum
|
||||||
|
overload
|
||||||
simple
|
simple
|
||||||
|
template
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,9 @@
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
#include <global.h>
|
#include <pike/global.h>
|
||||||
#include <module.h>
|
#include <pike/module.h>
|
||||||
#include <interpret.h>
|
#include <pike/interpret.h>
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -9,11 +9,12 @@
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
#include "object.h"
|
#include "pike/object.h"
|
||||||
#include "program.h"
|
#include "pike/program.h"
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#include <assert.h>
|
||||||
|
|
||||||
/* Stores information about a wrapped object */
|
/* Stores information about a wrapped object */
|
||||||
typedef struct swig_object_wrapper {
|
typedef struct swig_object_wrapper {
|
||||||
|
|
|
||||||
17
configure.ac
17
configure.ac
|
|
@ -1618,18 +1618,21 @@ AC_ARG_WITH(pikeincl, AS_HELP_STRING([--with-pikeincl=path],
|
||||||
if test -n "$PIKE"; then
|
if test -n "$PIKE"; then
|
||||||
AC_MSG_CHECKING([for Pike header files])
|
AC_MSG_CHECKING([for Pike header files])
|
||||||
if test -z "$PIKEINCLUDE" -a -n "$PIKECONFIG"; then
|
if test -z "$PIKEINCLUDE" -a -n "$PIKECONFIG"; then
|
||||||
PIKEINCLUDE=`$PIKECONFIG --cflags`
|
PIKEINCLUDE=`$PIKECONFIG --cflags`
|
||||||
fi
|
fi
|
||||||
if test -z "$PIKEINCLUDE" -a -n "$PIKE"; then
|
if test -z "$PIKEINCLUDE" -a -n "$PIKE"; then
|
||||||
PIKEPATH=`which $PIKE`
|
PIKEINCLUDE=`$PIKE -x cflags`
|
||||||
PIKEINCLUDE=`$PIKE Tools/check-include-path.pike $PIKEPATH`
|
if test -z "$PIKEINCLUDE"; then
|
||||||
PIKEINCLUDE="-I$PIKEINCLUDE"
|
PIKEPATH=`which $PIKE`
|
||||||
|
PIKEINCLUDE=`$PIKE Tools/check-include-path.pike $PIKEPATH`
|
||||||
|
PIKEINCLUDE="-I$PIKEINCLUDE"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -z "$PIKEINCLUDE"; then
|
if test -z "$PIKEINCLUDE"; then
|
||||||
AC_MSG_RESULT(not found)
|
AC_MSG_RESULT(not found)
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT($PIKEINCLUDE)
|
AC_MSG_RESULT($PIKEINCLUDE)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
@ -2305,7 +2308,7 @@ fi
|
||||||
AC_SUBST(SKIP_OCAML)
|
AC_SUBST(SKIP_OCAML)
|
||||||
|
|
||||||
|
|
||||||
SKIP_PIKE="1" # Always skipped!
|
SKIP_PIKE=
|
||||||
if test -z "$PIKE" || test -z "$PIKEINCLUDE" ; then
|
if test -z "$PIKE" || test -z "$PIKEINCLUDE" ; then
|
||||||
SKIP_PIKE="1"
|
SKIP_PIKE="1"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue