Writing long strings (with continuation), and conversion of at characters.
[gedcom-parse.git] / configure.in
index fbb85eca367a1ea203a88a156acf8471baa3ff7c..7e267e57f8a4bbeb32b3e59b77d4d952c9458567 100644 (file)
@@ -35,6 +35,16 @@ case "$host_os" in
  darwin*) AC_MSG_WARN([Disabling smart preprocessing])
           EXTRA_CFLAGS="-no-cpp-precomp";;
 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 =============================================================
@@ -76,6 +86,7 @@ jm_GLIBC21
 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