The CMake-based build doesn't use config.h.
Up-to-date getopt_long in Gnulib is LGPLv2 so at some
point it could be included in XZ Utils too but for now
this commit is enough to make CMake-based build possible.
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
\f
#ifndef _LIBC
-# include <config.h>
+# ifdef HAVE_CONFIG_H
+# include <config.h>
+# endif
#endif
#include "getopt.h"
#ifdef _LIBC
# include <getopt.h>
#else
-# include <config.h>
+# ifdef HAVE_CONFIG_H
+# include <config.h>
+# endif
# include "getopt.h"
#endif
#include "getopt_int.h"