include (CheckFunctionExists) check_function_exists (getopt_long HAVE_GETOPT_LONG)