-echo "$as_me:$LINENO: checking for EGifOpenFileName in -lungif" >&5
-echo $ECHO_N "checking for EGifOpenFileName in -lungif... $ECHO_C" >&6
-if test "${ac_cv_lib_ungif_EGifOpenFileName+set}" = set; then
+echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
+echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
+if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then