diff -cr indent-2.2.10//configure.ac Coding/indent-2.2.10//configure.ac
*** indent-2.2.10//configure.ac	Tue Mar 11 22:50:42 2008
--- Coding/indent-2.2.10//configure.ac	Sat Aug  9 23:18:30 2014
***************
*** 37,42 ****
--- 37,49 ----
  AM_GNU_GETTEXT
  AM_GNU_GETTEXT_VERSION(0.11.5)
  
+ dnl Check for compiling under mingw
+ case $host in
+ 	*mingw32*) WILDEXP='wildexp.$(OBJEXT)' ;;
+ 	*) WILDEXP='' ;;
+ esac
+ AC_SUBST([WILDEXP])
+ 
  AH_TEMPLATE(HAVE_LC_MESSAGES)
  AH_TEMPLATE(ENABLE_NLS)
  AH_TEMPLATE(HAVE_GETTEXT)
diff -cr indent-2.2.10//src/Makefile.am Coding/indent-2.2.10//src/Makefile.am
*** indent-2.2.10//src/Makefile.am	Tue Mar 11 22:50:42 2008
--- Coding/indent-2.2.10//src/Makefile.am	Sat Aug  9 23:14:12 2014
***************
*** 2,10 ****
  
  bin_PROGRAMS = indent
  indent_SOURCES = indent.c args.c backup.c comments.c lexi.c parse.c globs.c code_io.c output.c utils.c
  noinst_HEADERS = indent.h args.h backup.h comments.h lexi.h parse.h globs.h code_io.h output.h utils.h sys.h libgettext.h
! indent_LDADD =  $(INTLLIBS)
! EXTRA_DIST = @PACKAGE@.gperf @PACKAGE@-cc.gperf wildexp.c gperf.c gperf-cc.c \
  	     @PACKAGE@.dsp \
  	     config.h.vc++ \
  	     config.h.vms
--- 2,12 ----
  
  bin_PROGRAMS = indent
  indent_SOURCES = indent.c args.c backup.c comments.c lexi.c parse.c globs.c code_io.c output.c utils.c
+ EXTRA_indent_SOURCES = wildexp.c
  noinst_HEADERS = indent.h args.h backup.h comments.h lexi.h parse.h globs.h code_io.h output.h utils.h sys.h libgettext.h
! indent_LDADD =  $(INTLLIBS) $(WILDEXP)
! indent_DEPENDENCIES = $(WILDEXP)
! EXTRA_DIST = @PACKAGE@.gperf @PACKAGE@-cc.gperf gperf.c gperf-cc.c \
  	     @PACKAGE@.dsp \
  	     config.h.vc++ \
  	     config.h.vms
