diff --git a/ChangeLog b/ChangeLog index f1b91ac..efa00a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ CHANGES +4.0.1 Tue Nov 20 08:22:20 UTC 2018 + + * Add LDFLAGS environment variable (Thanks to zboszor ) + 4.0.0 Mon Nov 12 16:54:56 UTC 2018 * Add -H option for extra security without root (Thanks to intika ). It protects against dumping, code injection, `cat /proc/pid/cmdline`, ptrace, etc.. (only works with Bourne shell (sh) scripts with no parameter) diff --git a/configure b/configure index 257b8d2..db876b2 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for shc 4.0.0. +# Generated by GNU Autoconf 2.69 for shc 4.0.1. # # Report bugs to . # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='shc' PACKAGE_TARNAME='shc' -PACKAGE_VERSION='4.0.0' -PACKAGE_STRING='shc 4.0.0' +PACKAGE_VERSION='4.0.1' +PACKAGE_STRING='shc 4.0.1' PACKAGE_BUGREPORT='http://github.com/neurobin/shc/issues' PACKAGE_URL='' @@ -1279,7 +1279,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures shc 4.0.0 to adapt to many kinds of systems. +\`configure' configures shc 4.0.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1346,7 +1346,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of shc 4.0.0:";; + short | recursive ) echo "Configuration of shc 4.0.1:";; esac cat <<\_ACEOF @@ -1437,7 +1437,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -shc configure 4.0.0 +shc configure 4.0.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1863,7 +1863,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by shc $as_me 4.0.0, which was +It was created by shc $as_me 4.0.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2733,7 +2733,7 @@ fi # Define the identity of the package. PACKAGE='shc' - VERSION='4.0.0' + VERSION='4.0.1' cat >>confdefs.h <<_ACEOF @@ -5311,7 +5311,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by shc $as_me 4.0.0, which was +This file was extended by shc $as_me 4.0.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5368,7 +5368,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -shc config.status 4.0.0 +shc config.status 4.0.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 2ff62bc..95c5f0a 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([shc], [4.0.0], [http://github.com/neurobin/shc/issues]) +AC_INIT([shc], [4.0.1], [http://github.com/neurobin/shc/issues]) AC_CONFIG_AUX_DIR(config) #prefix="/usr" AC_CONFIG_SRCDIR([src/shc.c]) diff --git a/shc.1 b/shc.1 index 615b654..8526b91 100644 --- a/shc.1 +++ b/shc.1 @@ -1,6 +1,6 @@ .\" Automatically generated by Pandoc 1.19.2.4 .\" -.TH "shc" "1" "November 13, 2018" "shc user manual" "" +.TH "shc" "1" "November 20, 2018" "shc user manual" "" .hy .SH NAME .PP @@ -170,6 +170,11 @@ C compiler command \f[C][cc]\f[] C compiler flags \f[C][none]\f[] .RS .RE +.TP +.B LDFLAGS +Linker flags \f[C][none]\f[] +.RS +.RE .SH EXAMPLES .PP Compile a script which can be run on other systems with the trace option diff --git a/src/shc.c b/src/shc.c index abbf5c6..6d08f5e 100644 --- a/src/shc.c +++ b/src/shc.c @@ -17,7 +17,7 @@ */ static const char my_name[] = "shc"; -static const char version[] = "Version 4.0.0"; +static const char version[] = "Version 4.0.1"; static const char subject[] = "Generic Shell Script Compiler"; static const char cpright[] = "GNU GPL Version 3"; static const struct { const char * f, * s, * e; }