Home | History | Annotate | Download | only in source
      1 #  Copyright (c) 2008-2010, International Business Machines Corporation and others. All Rights Reserved.
      2 # 
      3 #
      4 # Makefile for regenerating configure in the face of a bad ^M
      5 # This should become unnecessary for autoconf past 2.63
      6 # 
      7 # Usage:    MAKE -f configure.mk configure
      8 
      9 AUTOCONF=autoconf
     10 all: configure common/icucfg.h.in
     11 
     12 common/icucfg.h.in: configure.in
     13 	autoheader
     14 
     15 configure:	configure.in ./aclocal.m4
     16 	( $(AUTOCONF) && mv configure configure.tmp && sed -e 's%^ac_cr=.*%ac_cr=`echo X |tr X "\\015"`%'  < configure.tmp > configure && chmod a+rx $@ && rm configure.tmp ) || ( rm $@ ; "echo configure build failed" ; /usr/bin/false  )
     17 
     18 -include configure-local.mk
     19