From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: gdb-patches@sources.redhat.com Cc: insight@sources.redhat.com Subject: [rfa/expect] Add explicit build rules for tcl_regexp.c Date: Thu, 20 Sep 2001 13:13:00 -0000 Message-id: <3BAA4DE7.5060702@cygnus.com> X-SW-Source: 2001-q3/msg00274.html Hello, I was finding that I couldn't build the expect in the CVS repository on a FreeBSD machine - expect/tcl_regexp.c was failing because it was including tcl/.../unistd.h instead of . This was occuring because HAVE_UNISTD_H wasn't defined. The attached patch adds an explicit compile rule for tcl_regexp.c that includes all the autoconf -D... flags (esp HAVE_UNISTD_H) and hence (appears to) fix the problem Ok? Andrew