+Mon Jan 4 15:35:29 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * acglib.m4: some echos interpret \n's and some don't. Deal with
+ accordingly.
+
Mon Jan 4 20:58:50 1999 Tim Janik <timj@gtk.org>
* gscanner.c: eliminated extraneous "register" qualifiers in variable
+Mon Jan 4 15:35:29 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * acglib.m4: some echos interpret \n's and some don't. Deal with
+ accordingly.
+
Mon Jan 4 20:58:50 1999 Tim Janik <timj@gtk.org>
* gscanner.c: eliminated extraneous "register" qualifiers in variable
+Mon Jan 4 15:35:29 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * acglib.m4: some echos interpret \n's and some don't. Deal with
+ accordingly.
+
Mon Jan 4 20:58:50 1999 Tim Janik <timj@gtk.org>
* gscanner.c: eliminated extraneous "register" qualifiers in variable
+Mon Jan 4 15:35:29 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * acglib.m4: some echos interpret \n's and some don't. Deal with
+ accordingly.
+
Mon Jan 4 20:58:50 1999 Tim Janik <timj@gtk.org>
* gscanner.c: eliminated extraneous "register" qualifiers in variable
+Mon Jan 4 15:35:29 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * acglib.m4: some echos interpret \n's and some don't. Deal with
+ accordingly.
+
Mon Jan 4 20:58:50 1999 Tim Janik <timj@gtk.org>
* gscanner.c: eliminated extraneous "register" qualifiers in variable
+Mon Jan 4 15:35:29 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * acglib.m4: some echos interpret \n's and some don't. Deal with
+ accordingly.
+
Mon Jan 4 20:58:50 1999 Tim Janik <timj@gtk.org>
* gscanner.c: eliminated extraneous "register" qualifiers in variable
+Mon Jan 4 15:35:29 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * acglib.m4: some echos interpret \n's and some don't. Deal with
+ accordingly.
+
Mon Jan 4 20:58:50 1999 Tim Janik <timj@gtk.org>
* gscanner.c: eliminated extraneous "register" qualifiers in variable
+Mon Jan 4 15:35:29 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * acglib.m4: some echos interpret \n's and some don't. Deal with
+ accordingly.
+
Mon Jan 4 20:58:50 1999 Tim Janik <timj@gtk.org>
* gscanner.c: eliminated extraneous "register" qualifiers in variable
AC_DEFUN(GLIB_SYSDEFS,
[glib_sysdefso="translit($3, [-_a-zA-Z0-9 *], [-_a-zA-Z0-9])"
glib_sysdef_msg=`echo $2 | sed 's/:[[^ ]]*//g'`
+if test "x`(echo '\n') 2>/dev/null`" != 'x\n'; then
+ glib_nl='\\n'
+else
+ glib_nl='\n'
+fi
AC_MSG_CHECKING(system definitions for $glib_sysdef_msg)
cat >confrun.c <<_______EOF
#include <stdio.h>
glib_sysdef=`echo $glib_sysdef_input | sed 's/^\([[^:]]*\):.*$/\1/'`
glib_default=`echo $glib_sysdef_input | sed 's/^[[^:]]*:\(.*\)$/\1/'`
echo "#ifdef $glib_sysdef" >>confrun.c
- echo " fprintf (f, \"#define GLIB_SYSDEF_%s %s%d\\n\", \"$glib_sysdef\", \"$4\", $glib_sysdef);" >>confrun.c
+ echo " fprintf (f, \"#define GLIB_SYSDEF_%s %s%d${glib_nl}\", \"$glib_sysdef\", \"$4\", $glib_sysdef);" >>confrun.c
echo "#else" >>confrun.c
if test $glib_sysdef != $glib_default; then
- echo " fprintf (f, \"#define GLIB_SYSDEF_%s %s%d\\n\", \"$glib_sysdef\", \"$4\", $glib_default);" >>confrun.c
+ echo " fprintf (f, \"#define GLIB_SYSDEF_%s %s%d${glib_nl}\", \"$glib_sysdef\", \"$4\", $glib_default);" >>confrun.c
else
- echo " fprintf (f, \"#define GLIB_SYSDEF_%s\\n\", \"$glib_sysdef\");" >>confrun.c
+ echo " fprintf (f, \"#define GLIB_SYSDEF_%s${glib_nl}\", \"$glib_sysdef\");" >>confrun.c
fi
echo "#endif" >>confrun.c
done