dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small fix for empty values in write_long.
[gedcom-parse.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index 82e16b7a8d9901dc960cd8eb1779b2a26294ab9f..fa93c2cb9564138ad95183aeaa0f487ed995f761 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-30,11
+30,21
@@
ALL_LINGUAS="nl"
AC_CANONICAL_HOST
AC_CANONICAL_HOST
-EXTRA_CFLAGS=
+EXTRA_CFLAGS=
""
case "$host_os" in
darwin*) AC_MSG_WARN([Disabling smart preprocessing])
case "$host_os" in
darwin*) AC_MSG_WARN([Disabling smart preprocessing])
- EXTRA_CFLAGS="-no-cpp-precomp";;
+ EXTRA_CFLAGS="-no-cpp-precomp
$EXTRA_CFLAGS
";;
esac
esac
+
+AC_ARG_ENABLE(debug,
+[ --enable-debug Compilation flags to allow debugging [default=yes]],
+ if test $enableval == "yes"
+ then
+ EXTRA_CFLAGS="-g $EXTRA_CFLAGS"
+ fi,
+ EXTRA_CFLAGS="-g $EXTRA_CFLAGS"
+)
+
AC_SUBST(EXTRA_CFLAGS)
dnl =============================================================
AC_SUBST(EXTRA_CFLAGS)
dnl =============================================================
@@
-58,13
+68,6
@@
fi
dnl =============================================================
dnl Checks for libraries.
AM_GNU_GETTEXT([use-libtool],[need-ngettext])
dnl =============================================================
dnl Checks for libraries.
AM_GNU_GETTEXT([use-libtool],[need-ngettext])
-AM_WITH_DMALLOC
-
-dnl == Make statically linked test program for dmalloc tests
-if test "$with_dmalloc" = "yes"; then
- EXTRA_PROGS=gomtest_static
-fi
-AC_SUBST(EXTRA_PROGS)
dnl =============================================================
dnl Checks for typedefs, structures, and compiler characteristics.
dnl =============================================================
dnl Checks for typedefs, structures, and compiler characteristics.
@@
-83,6
+86,7
@@
jm_GLIBC21
dnl ==========================================================
dnl My local stuff
dnl ==========================================================
dnl My local stuff
+gedcom_SYS_NEWLINE
AM_ICONV
gedcom_SANE_ICONV
if test "$am_cv_func_iconv" != yes -o "$is_iconv_sane" != yes; then
AM_ICONV
gedcom_SANE_ICONV
if test "$am_cv_func_iconv" != yes -o "$is_iconv_sane" != yes; then