Skip to content

Commit

Permalink
Fix configure with no --with-cc
Browse files Browse the repository at this point in the history
  • Loading branch information
igfoo committed Apr 15, 2007
1 parent b099a7e commit ea2344f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions configure.ac
Expand Up @@ -9,14 +9,8 @@ AC_CANONICAL_HOST

AC_ARG_WITH([cc],
[C compiler],
[OLDPATH=$PATH
PATH=`dirname $withval`:$PATH
AC_PROG_CC(`basename $withval`)
PATH=$OLDPATH
CC=$withval],
[AC_PROG_CC()])
echo CC is $CC >&5
echo CC is $CC >&6
[CC=$withval])
AC_PROG_CC()

AC_C_CONST

Expand Down

0 comments on commit ea2344f

Please sign in to comment.