From 18b67ae59e83f97c2f05518579ac885b9fb5e86e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Tue, 14 Nov 2006 23:53:37 +0000
Subject: [PATCH] rename HAVE_DLFCN to HAVE_DLFCN_H

Originally committed as revision 7078 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure               | 6 +++---
 ffserver.c              | 2 +-
 libavformat/framehook.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure b/configure
index 9196a0c0a11..e516075cb2b 100755
--- a/configure
+++ b/configure
@@ -424,7 +424,7 @@ HAVE_LIST='
     beosthreads
     byteswap_h
     dcbzl
-    dlfcn
+    dlfcn_h
     dlopen
     freetype2
     gprof
@@ -578,7 +578,7 @@ extralibs="-lm"
 bigendian="no"
 vhook="default"
 avisynth="no"
-dlfcn="no"
+dlfcn_h="no"
 dlopen="no"
 mpegaudio_hp="yes"
 SHFLAGS='-shared -Wl,-soname,$@'
@@ -1509,7 +1509,7 @@ done
 
 # dlopen/dlfcn.h probing
 
-check_header dlfcn.h && dlfcn=yes
+check_header dlfcn.h && dlfcn_h=yes
 
 temp_extralibs -ldl
 if check_func dlopen; then
diff --git a/ffserver.c b/ffserver.c
index 4100ec23d7d..138e607ed68 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -37,7 +37,7 @@
 #include <arpa/inet.h>
 #include <netdb.h>
 #include <signal.h>
-#ifdef HAVE_DLFCN
+#ifdef HAVE_DLFCN_H
 #include <dlfcn.h>
 #endif
 
diff --git a/libavformat/framehook.c b/libavformat/framehook.c
index df1f4b55d71..03bbc95f6d7 100644
--- a/libavformat/framehook.c
+++ b/libavformat/framehook.c
@@ -23,7 +23,7 @@
 #include "avformat.h"
 #include "framehook.h"
 
-#ifdef HAVE_DLFCN
+#ifdef HAVE_DLFCN_H
 #include <dlfcn.h>
 #endif
 
-- 
GitLab