X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=autogen.sh;h=6c2a8dd16b2c94fa7caced4af559bb1e1f76a315;hp=47c476c79632ef5a3d02b6181b78b8a7905f40de;hb=48326e061aacd954e24f76c53ded10448cbc28eb;hpb=8cfb9104419d3c00fbef3fe8639eb04f03d83f3d diff --git a/autogen.sh b/autogen.sh index 47c476c7..6c2a8dd1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -162,13 +162,13 @@ AM_MAKEFILES="src/ipaddr/Makefile.ng src/ngircd/Makefile.ng src/testsuite/Makefi if [ "$AM_MAJOR" -eq "1" -a "$AM_MINOR" -lt "12" ]; then # automake < 1.12 => automatic de-ANSI-fication support available echo "Enabling de-ANSI-fication support (automake $AM_VERSION) ..." - sed -e "s|^__ng_PROTOTYPES__|AM_C_PROTOTYPES|g" configure.ng >configure.in + sed -e "s|^__ng_PROTOTYPES__|AM_C_PROTOTYPES|g" configure.ng >configure.ac DEANSI_START="" DEANSI_END="" else # automake >= 1.12 => no de-ANSI-fication support available echo "Disabling de-ANSI-fication support (automake $AM_VERSION) ..." - sed -e "s|^__ng_PROTOTYPES__|AC_C_PROTOTYPES|g" configure.ng >configure.in + sed -e "s|^__ng_PROTOTYPES__|AC_C_PROTOTYPES|g" configure.ng >configure.ac DEANSI_START="#" DEANSI_END=" # disabled by ./autogen.sh script" fi