VirtualBox

Changeset 32017 in vbox for trunk


Ignore:
Timestamp:
Aug 26, 2010 7:25:26 PM (14 years ago)
Author:
vboxsync
Message:

configure: Fix png check for FreeBSD, fixes building DisplayPNGUtil.cpp if the system libpng is installed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r31889 r32017  
    124124INCZ=""
    125125LIBZ="-lz"
    126 INCPNG=""
    127 LIBPNG="-lpng"
    128126CXX_FLAGS=""
    129127if [ "$OS" = "freebsd" ]; then
     
    132130  INCPULSE="-I/usr/local/include"
    133131  LIBPULSE="-L/usr/local/lib"
     132  INCPNG="-I/usr/local/include"
     133  LIBPNG="-L/usr/local/lib -lpng"
    134134else
    135135  INCCURL=""
    136136  LIBCURL="-lcurl"
     137  INCPNG=""
     138  LIBPNG="-lpng"
    137139fi
    138140PKGCONFIG="`which_wrapper pkg-config`"
     
    24592461check_curl
    24602462[ "$OS" != "darwin"  ] && check_z
    2461 [ "$OS" != "darwin" -a "$OS" != "freebsd" ] && check_png
     2463[ "$OS" != "darwin" ] && check_png
    24622464[ $OSE -eq 0 -a "$OS" = "linux" ] && check_pam
    24632465[ $WITH_SDL -eq 1 ]    && check_sdl
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette