#! /bin/sh
-# From configure.ac Id: configure.ac 5314 2015-01-06 13:27:34Z michael .
+# From configure.ac Id: configure.ac 5943 2015-05-06 19:09:49Z michael .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for hopm TRUNK.
#
libopm.h \
list.c \
list.h \
- malloc.c \
- malloc.h \
+ memory.c \
+ memory.h \
opm_common.h \
opm_error.h \
opm.h \
CONFIG_CLEAN_VPATH_FILES =
LTLIBRARIES = $(noinst_LTLIBRARIES)
libopm_la_DEPENDENCIES = @LTLIBOBJS@
-am_libopm_la_OBJECTS = config.lo libopm.lo list.lo malloc.lo proxy.lo
+am_libopm_la_OBJECTS = config.lo libopm.lo list.lo memory.lo proxy.lo
libopm_la_OBJECTS = $(am_libopm_la_OBJECTS)
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
libopm.h \
list.c \
list.h \
- malloc.c \
- malloc.h \
+ memory.c \
+ memory.h \
opm_common.h \
opm_error.h \
opm.h \
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/config.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libopm.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/malloc.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memory.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/proxy.Plo@am__quote@
.c.o:
#include <string.h>
-#include "malloc.h"
+#include "memory.h"
#include "config.h"
#include "inet.h"
#include "opm_error.h"
#include "config.h"
#include "libopm.h"
-#include "malloc.h"
+#include "memory.h"
#include "opm_error.h"
#include "opm_types.h"
#include "opm_common.h"
#include "opm_common.h"
#include "list.h"
-#include "malloc.h"
+#include "memory.h"
#include "opm.h"
+++ /dev/null
-/*
- * Copyright (C) 2002 Erik Fears
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to
- *
- * The Free Software Foundation, Inc.
- * 59 Temple Place - Suite 330
- * Boston, MA 02111-1307, USA.
- *
- *
- */
-
-#include <assert.h>
-#include <string.h>
-#include "setup.h"
-
-#include "malloc.h"
-#include "opm.h"
-
-
-/* xcalloc
- *
- * A wrapper function for malloc(), for catching memory issues
- * and error handling.
- *
- * Parameters
- * bytes: amount in bytes to allocate
- *
- * Return:
- * Pointer to allocated memory
- */
-
-void *libopm_xcalloc(size_t bytes)
-{
- void *ret = calloc(1, bytes);
-
- assert(ret);
-
- return ret;
-}
-
-
-
-/* MyFree
- *
- * Free memory allocated with xcalloc
- *
- * Parameters:
- * var: pointer to memory to free
- *
- * Return:
- * None
- */
-
-void libopm_MyFree(void **var)
-{
- if(*var != NULL)
- free(*var);
- *var = NULL;
-}
-
-void *
-libopm_xstrdup(const char *s)
-{
- void *ret = malloc(strlen(s) + 1);
-
- assert(ret);
- strcpy(ret, s);
-
- return ret;
-}
+++ /dev/null
-#ifndef MALLOC_H
-#define MALLOC_H
-
-#include "setup.h"
-
-#include <stdlib.h>
-
-#define xcalloc(SIZE) libopm_xcalloc(SIZE)
-#define MyFree(X) libopm_MyFree((void **) &X)
-
-void *libopm_xcalloc(size_t bytes);
-void libopm_MyFree(void **var);
-extern void *libopm_xstrdup(const char *);
-
-#endif /* MALLOC_H */
--- /dev/null
+/*
+ * Copyright (C) 2002 Erik Fears
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to
+ *
+ * The Free Software Foundation, Inc.
+ * 59 Temple Place - Suite 330
+ * Boston, MA 02111-1307, USA.
+ *
+ *
+ */
+
+#include <assert.h>
+#include <string.h>
+#include "setup.h"
+
+#include "memory.h"
+#include "opm.h"
+
+
+/* xcalloc
+ *
+ * A wrapper function for malloc(), for catching memory issues
+ * and error handling.
+ *
+ * Parameters
+ * bytes: amount in bytes to allocate
+ *
+ * Return:
+ * Pointer to allocated memory
+ */
+
+void *libopm_xcalloc(size_t bytes)
+{
+ void *ret = calloc(1, bytes);
+
+ assert(ret);
+
+ return ret;
+}
+
+
+
+/* MyFree
+ *
+ * Free memory allocated with xcalloc
+ *
+ * Parameters:
+ * var: pointer to memory to free
+ *
+ * Return:
+ * None
+ */
+
+void libopm_MyFree(void **var)
+{
+ if(*var != NULL)
+ free(*var);
+ *var = NULL;
+}
+
+void *
+libopm_xstrdup(const char *s)
+{
+ void *ret = malloc(strlen(s) + 1);
+
+ assert(ret);
+ strcpy(ret, s);
+
+ return ret;
+}
--- /dev/null
+#ifndef MALLOC_H
+#define MALLOC_H
+
+#include "setup.h"
+
+#include <stdlib.h>
+
+#define xcalloc(SIZE) libopm_xcalloc(SIZE)
+#define MyFree(X) libopm_MyFree((void **) &X)
+
+void *libopm_xcalloc(size_t bytes);
+void libopm_MyFree(void **var);
+extern void *libopm_xstrdup(const char *);
+
+#endif /* MALLOC_H */