Skip to content

Instantly share code, notes, and snippets.

@nox
Created February 14, 2011 10:34
Show Gist options
  • Save nox/825703 to your computer and use it in GitHub Desktop.
Save nox/825703 to your computer and use it in GitHub Desktop.
gdk_pixbuf_include_dir=`echo "$GTK_CFLAGS" | sed -n -e 's/^.*-I\([[^ ]]*include\/gdk-pixbuf-2.0\).*$/\1/p'`
if [ -z "$gdk_pixbuf_include_dir" ]; then
gdk_pixbuf_include_dir="$gtk_include_dir"
fi
AC_SUBST([GDKPIXBUFINC], [$gdk_pixbuf_include_dir])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment