added WITH_ILP switch
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Sat, 11 Mar 2006 11:04:43 +0000 (11:04 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Sat, 11 Mar 2006 11:04:43 +0000 (11:04 +0000)
added CVS ID tag

ir/be/becopyilp.c

index 22be9d3..93d329c 100644 (file)
@@ -3,11 +3,18 @@
  * Date:               28.02.2006
  * Copyright:   (c) Universitaet Karlsruhe
  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
+ * $Id$
  *
  * Common stuff used by all ILP fomulations.
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef WITH_ILP
+
 #include "becopyilp_t.h"
 #include "beifg_t.h"
 
@@ -166,3 +173,10 @@ void free_ilp_env(ilp_env_t *ienv) {
        free_lpp(ienv->lp);
        free(ienv);
 }
+
+#else /* WITH_ILP */
+
+static void only_that_you_can_compile_without_WITH_ILP_defined(void) {
+}
+
+#endif /* WITH_ILP */