configure
changeset 11829 fcbafc9e443c
parent 11808 510c0e047122
child 11848 2f157c1ca383
equal deleted inserted replaced
11828:da1ca77eb713 11829:fcbafc9e443c
 19500 else
 19500 else
 19501   enable_video_rpi=yes
 19501   enable_video_rpi=yes
 19502 fi
 19502 fi
 19503 
 19503 
 19504     if test x$enable_video = xyes -a x$enable_video_rpi = xyes; then
 19504     if test x$enable_video = xyes -a x$enable_video_rpi = xyes; then
 19505         if test x$ARCH = xnetbsd; then
 19505         # Extract the first word of "pkg-config", so it can be a program name with args.
       
 19506 set dummy pkg-config; ac_word=$2
       
 19507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
       
 19508 $as_echo_n "checking for $ac_word... " >&6; }
       
 19509 if ${ac_cv_path_PKG_CONFIG+:} false; then :
       
 19510   $as_echo_n "(cached) " >&6
       
 19511 else
       
 19512   case $PKG_CONFIG in
       
 19513   [\\/]* | ?:[\\/]*)
       
 19514   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
       
 19515   ;;
       
 19516   *)
       
 19517   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
 19518 for as_dir in $PATH
       
 19519 do
       
 19520   IFS=$as_save_IFS
       
 19521   test -z "$as_dir" && as_dir=.
       
 19522     for ac_exec_ext in '' $ac_executable_extensions; do
       
 19523   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
       
 19524     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
       
 19525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       
 19526     break 2
       
 19527   fi
       
 19528 done
       
 19529   done
       
 19530 IFS=$as_save_IFS
       
 19531 
       
 19532   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
       
 19533   ;;
       
 19534 esac
       
 19535 fi
       
 19536 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
       
 19537 if test -n "$PKG_CONFIG"; then
       
 19538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
       
 19539 $as_echo "$PKG_CONFIG" >&6; }
       
 19540 else
       
 19541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
 19542 $as_echo "no" >&6; }
       
 19543 fi
       
 19544 
       
 19545 
       
 19546         if test x$PKG_CONFIG != xno && $PKG_CONFIG --exists bcm_host; then
       
 19547             RPI_CFLAGS=`$PKG_CONFIG --cflags bcm_host brcmegl`
       
 19548             RPI_LDFLAGS=`$PKG_CONFIG --libs bcm_host brcmegl`
       
 19549         elif test x$ARCH = xnetbsd; then
 19506             RPI_CFLAGS="-I/usr/pkg/include -I/usr/pkg/include/interface/vcos/pthreads -I/usr/pkg/include/interface/vmcs_host/linux"
 19550             RPI_CFLAGS="-I/usr/pkg/include -I/usr/pkg/include/interface/vcos/pthreads -I/usr/pkg/include/interface/vmcs_host/linux"
 19507             RPI_LDFLAGS="-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lbcm_host"
 19551             RPI_LDFLAGS="-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lbcm_host"
 19508         else
 19552         else
 19509             RPI_CFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
 19553             RPI_CFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
 19510             RPI_LDFLAGS="-L/opt/vc/lib -lbcm_host"
 19554             RPI_LDFLAGS="-L/opt/vc/lib -lbcm_host"