git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7357
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
)
if(HAVE_LUA5_1_LUALIB_H AND HAVE_LUA5_1_LAUXLIB_H)
set(HAVE_LUA 1)
)
if(HAVE_LUA5_1_LUALIB_H AND HAVE_LUA5_1_LAUXLIB_H)
set(HAVE_LUA 1)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I${HAVE_LUA5_1_LUALIB_H} ")
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I${HAVE_LUA5_1_LUALIB_H} ")
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I${HAVE_LUA5_1_LUALIB_H} -I${HAVE_LUA5_1_LAUXLIB_H}")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I${HAVE_LUA5_1_LUALIB_H} -I${HAVE_LUA5_1_LAUXLIB_H}")
endif(HAVE_LUA5_1_LUALIB_H AND HAVE_LUA5_1_LAUXLIB_H)
endif(NOT disable_lua)
#message("HAVE_LUA ${HAVE_LUA}")
endif(HAVE_LUA5_1_LUALIB_H AND HAVE_LUA5_1_LAUXLIB_H)
endif(NOT disable_lua)
#message("HAVE_LUA ${HAVE_LUA}")
* under the terms of the license (GNU LGPL) which comes with this package. */
#include <stdio.h>
* under the terms of the license (GNU LGPL) which comes with this package. */
#include <stdio.h>
-#include <lua5.1/lauxlib.h>
-#include <lua5.1/lualib.h>
+#include <lauxlib.h>
+#include <lualib.h>
#include "msg/msg.h"
#include "xbt.h"
#include "msg/msg.h"
#include "xbt.h"
#include "private.h"
#ifdef HAVE_LUA
#include "private.h"
#ifdef HAVE_LUA
-#include <lua5.1/lauxlib.h>
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include <lua5.1/lauxlib.h>
-#include <lua5.1/lualib.h>
+#include <lauxlib.h>
+#include <lualib.h>
/* lua can run with ultra tiny stacks since the user code lives in lua stacks, not the main one */
//#define CONTEXT_STACK_SIZE 4*1024
/* lua can run with ultra tiny stacks since the user code lives in lua stacks, not the main one */
//#define CONTEXT_STACK_SIZE 4*1024