Ticket #18856: patch-configure.diff

File patch-configure.diff, 877 bytes (added by dbevans (David B. Evans), 16 years ago)

for files directory (replaces previous)

  • configure

    old new  
    610610fi
    611611
    612612echolog "Checking for libavformat ..."
    613 check_lib ffmpeg/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !"
     613check_lib libavformat/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !"
    614614echolog "Checking for libavcodec ..."
    615 check_lib ffmpeg/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !"
     615check_lib libavcodec/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !"
    616616
    617617#################################################
    618618#   version
     
    688688fi
    689689append_config "EXTRALIBS=$extralibs"
    690690
    691 append_config "OPTFLAGS=$CFLAGS"
     691append_config "CFLAGS=$CFLAGS"
    692692append_config "LDFLAGS=$LDFLAGS"
    693693append_config "INSTALL=$INSTALL"
    694694