Not all of them are for warnings or gc.
-DSYSCONFDIR=\""$(sysconfdir)"\" \
${zlib_CFLAGS}
-AM_CFLAGS = $(WARNINGFLAGS)
-AM_LDFLAGS = $(GCLDFLAGS)
+AM_CFLAGS = $(OUR_CFLAGS)
+AM_LDFLAGS = $(OUR_LDFLAGS)
SED_PROCESS = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
-fvisibility=hidden \
-ffunction-sections \
-fdata-sections])
-AC_SUBST([WARNINGFLAGS], $with_cflags)
+AC_SUBST([OUR_CFLAGS], $with_cflags)
CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [ \
-Wl,--as-needed \
-Wl,--gc-sections])
-AC_SUBST([GCLDFLAGS], $with_ldflags)
+AC_SUBST([OUR_LDFLAGS], $with_ldflags)
#####################################################################
# Generate files from *.in