Use the autoconf macro John wrote