aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index db02b81..4f8ce8e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,7 +25,7 @@ min_automake_version="1.10"
# Set my_issvn to "yes" for non-released code. Remember to run an
# "svn up" and "autogen.sh" right before creating a distribution.
m4_define([my_version], [1.0.5])
-m4_define([my_issvn], [yes])
+m4_define([my_issvn], [no])
m4_define([svn_revision], m4_esyscmd([echo -n $( (svn info 2>/dev/null \
|| echo 'Revision: 0')|sed -n '/^Revision:/ {s/[^0-9]//gp;q;}')]))
@@ -106,6 +106,11 @@ AH_BOTTOM([
have_dosish_system=no
have_w32_system=no
case "${host}" in
+ *-linux*)
+ if test "$GCC" = yes; then
+ CFLAGS="$CFLAGS -fPIC -DPIC"
+ fi
+ ;;
*-mingw32*)
have_dosish_system=yes
have_w32_system=yes