replacing deprecated autoconf macro