Skip to content

Commit

Permalink
fix sed on gd includes
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed May 22, 2012
1 parent 389f1e9 commit 079fd32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -17124,7 +17124,7 @@ $as_echo "using $GDCONFIG" >&6; }


GD_INC=`$GDCONFIG --includes`
GD_INC=`echo "$GD_INC" | sed 's# /usr/include # #' | sed 's# /usr/include/ # #'`
GD_INC=`echo "$GD_INC" | sed 's#-I/usr/include # #' | sed 's#-I/usr/include/ # #'`

GD_LIB=`$GDCONFIG --ldflags`
GD_LIB=`echo "$GD_LIB" | sed 's# /usr/lib # #' | sed 's# /usr/lib/ # #'`
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -518,7 +518,7 @@ AC_DEFUN([MS_CHECK_GD],[

dnl remove /usr/include/ from default include path
GD_INC=`$GDCONFIG --includes`
GD_INC=`echo "$GD_INC" | sed 's# /usr/include # #' | sed 's# /usr/include/ # #'`
GD_INC=`echo "$GD_INC" | sed 's#-I/usr/include # #' | sed 's#-I/usr/include/ # #'`

dnl remove /usr/lib/ from default lib path
GD_LIB=`$GDCONFIG --ldflags`
Expand Down

0 comments on commit 079fd32

Please sign in to comment.