From c0a48562e88fa7bd76c52304004790970ba62ac0 Mon Sep 17 00:00:00 2001 From: Weber Yann Date: Mon, 16 May 2016 17:33:10 +0200 Subject: [PATCH] Fixing run_autotools.sh script + adding missing file --- config/config.h.in | 59 ++++++++++++++++++++++++++++++++++++++++ config/config.h.in~ | 65 +++++++++++++++++++++++++++++++++++++++++++++ run_autotools.sh | 23 ++++++++-------- 3 files changed, 135 insertions(+), 12 deletions(-) create mode 100644 config/config.h.in create mode 100644 config/config.h.in~ diff --git a/config/config.h.in b/config/config.h.in new file mode 100644 index 0000000..0c27e7b --- /dev/null +++ b/config/config.h.in @@ -0,0 +1,59 @@ +/* config/config.h.in. Generated from configure.in by autoheader. */ + +/* Define to 1 if you have the `bzero' function. */ +#undef HAVE_BZERO + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if your system has a GNU libc compatible `malloc' function, and + to 0 otherwise. */ +#undef HAVE_MALLOC + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Define to rpl_malloc if the replacement function should be used. */ +#undef malloc diff --git a/config/config.h.in~ b/config/config.h.in~ new file mode 100644 index 0000000..6a23c00 --- /dev/null +++ b/config/config.h.in~ @@ -0,0 +1,65 @@ +/* config/config.h.in. Generated from configure.in by autoheader. */ + +/* Define to 1 if you have the `bzero' function. */ +#undef HAVE_BZERO + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if your system has a GNU libc compatible `malloc' function, and + to 0 otherwise. */ +#undef HAVE_MALLOC + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Version number of package */ +#undef VERSION + +/* Define to rpl_malloc if the replacement function should be used. */ +#undef malloc diff --git a/run_autotools.sh b/run_autotools.sh index 4f5a06d..42db6ec 100755 --- a/run_autotools.sh +++ b/run_autotools.sh @@ -1,22 +1,21 @@ -#!/bin/dash -echo "cleaning directory" -rm depcomp install-sh missing Makefile.in aclocal.m4 configure src/Makefile.in config/config.h.in 2>/dev/null +#!/bin/bash + if [ $# -eq 1 ] then + echo "cleaning directory" + rm depcomp install-sh missing Makefile.in aclocal.m4 configure src/Makefile.in config/config.h config/stamp-h1 2>/dev/null + rm -R autom4te.cache/ + rm config.status + rm config.log + rm -R src/.deps + rm Makefile + rm src/Makefile exit fi echo "Running autotools" autoheader -automake --foreign -a -c aclocal autoconf -echo "cleaning directory" -rm -R autom4te.cache/ -rm config.status -rm config.log -rm -R src/.deps -rm Makefile -rm src/Makefile - +automake --foreign -a -c