> I suppose you mean change about like this. Yes. - Your approach comes very close to my imaginations. I suggest to reconsider a few implementation details there. > The macro figures out how to build C programs using POSIX threads, and > the PTHREAD_CFLAGS output variable to any special C compiler flags that > are needed. 1. How do you think about to mention in your commit message that three variables (including "LIBS") will be adjusted eventually? > +AX_PTHREAD([], [AC_MSG_ERROR([Could not configure pthreads support])]) 2. You chose to pass an empty "ACTION-IF-FOUND". Would it make sense to restructure this place a bit in the configuration script so that the following statements will be directly used by the first macro parameter? Regards, Markus