llvm.org GIT mirror llvm / ba30d60
Don't define LTDL_SHLIBPATH_VAR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183771 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 6 years ago
7 changed file(s) with 2 addition(s) and 80 deletion(s). Raw diff Collapse all Expand all
6767 AC_REQUIRE([_LT_AC_CHECK_DLFCN])
6868 AC_REQUIRE([AC_LTDL_ENABLE_INSTALL])
6969 AC_REQUIRE([AC_LTDL_SHLIBEXT])
70 AC_REQUIRE([AC_LTDL_SHLIBPATH])
7170 AC_REQUIRE([AC_LTDL_SYSSEARCHPATH])
7271 AC_REQUIRE([AC_LTDL_OBJDIR])
7372 AC_REQUIRE([AC_LTDL_DLPREOPEN])
204203 [Define to the extension used for shared libraries, say, ".so".])
205204 fi
206205 ])# AC_LTDL_SHLIBEXT
207
208
209 # AC_LTDL_SHLIBPATH
210 # -----------------
211 AC_DEFUN([AC_LTDL_SHLIBPATH],
212 [AC_REQUIRE([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
213 AC_CACHE_CHECK([which variable specifies run-time library path],
214 [libltdl_cv_shlibpath_var], [libltdl_cv_shlibpath_var="$shlibpath_var"])
215 if test -n "$libltdl_cv_shlibpath_var"; then
216 AC_DEFINE_UNQUOTED([LTDL_SHLIBPATH_VAR], ["$libltdl_cv_shlibpath_var"],
217 [Define to the name of the environment variable that determines the dynamic library search path.])
218 fi
219 ])# AC_LTDL_SHLIBPATH
220
221206
222207 # AC_LTDL_SYSSEARCHPATH
223208 # ---------------------
415415
416416 if( MSVC )
417417 set(error_t int)
418 set(LTDL_SHLIBPATH_VAR "PATH")
419418 set(LTDL_SYSSEARCHPATH "")
420419 set(LTDL_DLOPEN_DEPLIBS 1)
421420 set(SHLIBEXT ".lib")
426425 set(stricmp "_stricmp")
427426 set(strdup "_strdup")
428427 else( MSVC )
429 set(LTDL_SHLIBPATH_VAR "LD_LIBRARY_PATH")
430428 set(LTDL_SYSSEARCHPATH "") # TODO
431429 set(LTDL_DLOPEN_DEPLIBS 0) # TODO
432430 endif( MSVC )
93969396 fi
93979397
93989398
9399 { echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
9400 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6; }
9401 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9402 echo $ECHO_N "(cached) $ECHO_C" >&6
9403 else
9404 libltdl_cv_shlibpath_var="$shlibpath_var"
9405 fi
9406 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
9407 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9408 if test -n "$libltdl_cv_shlibpath_var"; then
9409
9410 cat >>confdefs.h <<_ACEOF
9411 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9412 _ACEOF
9413
9414 fi
9415
9416
94179399 { echo "$as_me:$LINENO: checking for the default library search path" >&5
94189400 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6; }
94199401 if test "${libltdl_cv_sys_search_path+set}" = set; then
1053510517 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1053610518 lt_status=$lt_dlunknown
1053710519 cat > conftest.$ac_ext <
10538 #line 10539 "configure"
10520 #line 10521 "configure"
1053910521 #include "confdefs.h"
1054010522
1054110523 #if HAVE_DLFCN_H
1109711079
1109811080 fi
1109911081 done
11100
1110111082
1110211083
1110311084
675675 */
676676 #undef LTDL_OBJDIR
677677
678 /* Define to the name of the environment variable that determines the dynamic
679 library search path. */
680 #cmakedefine LTDL_SHLIBPATH_VAR "${LTDL_SHLIBPATH_VAR}"
681
682678 /* Define to the extension used for shared libraries, say, ".so". */
683679 #cmakedefine LTDL_SHLIB_EXT "${LTDL_SHLIB_EXT}"
684680
680680 */
681681 #undef LTDL_OBJDIR
682682
683 /* Define to the name of the environment variable that determines the dynamic
684 library search path. */
685 #undef LTDL_SHLIBPATH_VAR
686
687683 /* Define to the extension used for shared libraries, say, ".so". */
688684 #undef LTDL_SHLIB_EXT
689685
6767 AC_REQUIRE([_LT_AC_CHECK_DLFCN])
6868 AC_REQUIRE([AC_LTDL_ENABLE_INSTALL])
6969 AC_REQUIRE([AC_LTDL_SHLIBEXT])
70 AC_REQUIRE([AC_LTDL_SHLIBPATH])
7170 AC_REQUIRE([AC_LTDL_SYSSEARCHPATH])
7271 AC_REQUIRE([AC_LTDL_OBJDIR])
7372 AC_REQUIRE([AC_LTDL_DLPREOPEN])
204203 [Define to the extension used for shared libraries, say, ".so".])
205204 fi
206205 ])# AC_LTDL_SHLIBEXT
207
208
209 # AC_LTDL_SHLIBPATH
210 # -----------------
211 AC_DEFUN([AC_LTDL_SHLIBPATH],
212 [AC_REQUIRE([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
213 AC_CACHE_CHECK([which variable specifies run-time library path],
214 [libltdl_cv_shlibpath_var], [libltdl_cv_shlibpath_var="$shlibpath_var"])
215 if test -n "$libltdl_cv_shlibpath_var"; then
216 AC_DEFINE_UNQUOTED([LTDL_SHLIBPATH_VAR], ["$libltdl_cv_shlibpath_var"],
217 [Define to the name of the environment variable that determines the dynamic library search path.])
218 fi
219 ])# AC_LTDL_SHLIBPATH
220
221206
222207 # AC_LTDL_SYSSEARCHPATH
223208 # ---------------------
92229222 fi
92239223
92249224
9225 { echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
9226 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6; }
9227 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9228 echo $ECHO_N "(cached) $ECHO_C" >&6
9229 else
9230 libltdl_cv_shlibpath_var="$shlibpath_var"
9231 fi
9232 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
9233 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9234 if test -n "$libltdl_cv_shlibpath_var"; then
9235
9236 cat >>confdefs.h <<_ACEOF
9237 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9238 _ACEOF
9239
9240 fi
9241
9242
92439225 { echo "$as_me:$LINENO: checking for the default library search path" >&5
92449226 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6; }
92459227 if test "${libltdl_cv_sys_search_path+set}" = set; then
1036110343 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1036210344 lt_status=$lt_dlunknown
1036310345 cat > conftest.$ac_ext <
10364 #line 10365 "configure"
10346 #line 10347 "configure"
1036510347 #include "confdefs.h"
1036610348
1036710349 #if HAVE_DLFCN_H
1092310905
1092410906 fi
1092510907 done
10926
1092710908
1092810909
1092910910