Commit 773e5c5c authored by mru's avatar mru

rename CONFIG_HAVE_DLFCN and CONFIG_HAVE_DLOPEN to HAVE_DLFCN/HAVE_DLOPEN


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7018 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7d82dd9e
...@@ -1972,11 +1972,11 @@ if test "$dc1394" = "yes" ; then ...@@ -1972,11 +1972,11 @@ if test "$dc1394" = "yes" ; then
fi fi
if test "$dlopen" = "yes" ; then if test "$dlopen" = "yes" ; then
echo "#define CONFIG_HAVE_DLOPEN 1" >> $TMPH echo "#define HAVE_DLOPEN 1" >> $TMPH
fi fi
if test "$dlfcn" = "yes" ; then if test "$dlfcn" = "yes" ; then
echo "#define CONFIG_HAVE_DLFCN 1" >> $TMPH echo "#define HAVE_DLFCN 1" >> $TMPH
fi fi
if test "$audio_oss" = "yes" ; then if test "$audio_oss" = "yes" ; then
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#include <arpa/inet.h> #include <arpa/inet.h>
#include <netdb.h> #include <netdb.h>
#include <signal.h> #include <signal.h>
#ifdef CONFIG_HAVE_DLFCN #ifdef HAVE_DLFCN
#include <dlfcn.h> #include <dlfcn.h>
#endif #endif
...@@ -3706,7 +3706,7 @@ static int opt_video_codec(const char *arg) ...@@ -3706,7 +3706,7 @@ static int opt_video_codec(const char *arg)
/* simplistic plugin support */ /* simplistic plugin support */
#ifdef CONFIG_HAVE_DLOPEN #ifdef HAVE_DLOPEN
static void load_module(const char *filename) static void load_module(const char *filename)
{ {
void *dll; void *dll;
...@@ -4377,7 +4377,7 @@ static int parse_ffconfig(const char *filename) ...@@ -4377,7 +4377,7 @@ static int parse_ffconfig(const char *filename)
redirect = NULL; redirect = NULL;
} else if (!strcasecmp(cmd, "LoadModule")) { } else if (!strcasecmp(cmd, "LoadModule")) {
get_arg(arg, sizeof(arg), &p); get_arg(arg, sizeof(arg), &p);
#ifdef CONFIG_HAVE_DLOPEN #ifdef HAVE_DLOPEN
load_module(arg); load_module(arg);
#else #else
fprintf(stderr, "%s:%d: Module support not compiled into this version: '%s'\n", fprintf(stderr, "%s:%d: Module support not compiled into this version: '%s'\n",
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "avformat.h" #include "avformat.h"
#include "framehook.h" #include "framehook.h"
#ifdef CONFIG_HAVE_DLFCN #ifdef HAVE_DLFCN
#include <dlfcn.h> #include <dlfcn.h>
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment