Hi, I'm new to gnu autoconfig. I have problems to use the AC_CHECK_HEADERS macro. I want to check for headerfiles such as arpa/inet.h sys/socket.h, netinet/in.h and thread.h Now the checking for arpa/inet.h went well, but sys/socket.h, netinet/in.h and thread.h failed, but this headers are installed (sys/socket.h netinet/in.h in /usr/include and thread.h in /usr/local/include) Also another problem is that the config.h is empty, after calling ./configure script. configure.ac: AC_INIT([mesydaq], [0.0.1], [steve.kreyer@xxxxxxxxxxx]) AC_CONFIG_SRCDIR([src/mesydaq.cpp]) AM_INIT_AUTOMAKE([1.7 gnu dist-bzip2]) AM_CONFIG_HEADER(config.h) AC_ARG_ENABLE(debug,[ --enable-debug Turn on debugging],debug=true) AC_ARG_WITH(threadpath, AC_HELP_STRING([--with-threadpath], [specify the directory of the thread header files (default is /usr/local/include)]), threadtop=$withval, threadtop=/usr/local/include) AC_PROG_CC AC_PROG_CXX AC_HEADER_STDC([]) AC_CHECK_HEADERS([$(threadpath)/thread.h, sys/socket.h, netinet/in.h, arpa/inet.h]) AC_FUNC_ALLOCA AC_CONFIG_FILES([Makefile src/Makefile]) AC_OUTPUT ./configure output: ... checking /thread.h, usability... no checking /thread.h, presence... no checking for /thread.h,... no checking sys/socket.h, usability... no checking sys/socket.h, presence... no checking for sys/socket.h,... no checking netinet/in.h, usability... no checking netinet/in.h, presence... no checking for netinet/in.h,... no checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes ... Thanx for reply... Steve ________________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193 _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf