1 2 3 4 5 6 7 8
#!/bin/sh # the atoll function appeared in C99 cat > conftest.c << EOF #include <stdlib.h> int main() { return (int)atoll("0"); } EOF conftest_define HAVE_ATOLL "Checking for atoll..."