1 # Copyright (c) 2008-2009, 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 configure: configure.in ./aclocal.m4 10 ( 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 ) 11 12