@@ -1027,7 +1027,7 @@ else
1027
1027
lt_cv_dlopen_libs=
1028
1028
1029
1029
case $host_os in
1030
- beos*)
1030
+ beos* | haiku* )
1031
1031
lt_cv_dlopen="load_add_on"
1032
1032
lt_cv_dlopen_libs=
1033
1033
lt_cv_dlopen_self=yes
@@ -1438,6 +1438,17 @@ beos*)
1438
1438
shlibpath_var=LIBRARY_PATH
1439
1439
;;
1440
1440
1441
+ haiku*)
1442
+ # Since haiku provides gcc, use GNU style here
1443
+ version_type=linux
1444
+ need_lib_prefix=no
1445
+ need_version=no
1446
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1447
+ soname_spec='${libname}${release}${shared_ext}$major'
1448
+ shlibpath_var=LIBRARY_PATH
1449
+ hardcode_into_libs=yes
1450
+ ;;
1451
+
1441
1452
bsdi[ [ 45] ] *)
1442
1453
version_type=linux
1443
1454
need_version=no
@@ -2390,7 +2401,7 @@ aix[[4-9]]*)
2390
2401
lt_cv_deplibs_check_method=pass_all
2391
2402
;;
2392
2403
2393
- beos*)
2404
+ beos* | haiku* )
2394
2405
lt_cv_deplibs_check_method=pass_all
2395
2406
;;
2396
2407
@@ -2616,7 +2627,7 @@ AC_DEFUN([AC_CHECK_LIBM],
2616
2627
[ AC_REQUIRE ( [ AC_CANONICAL_HOST ] ) dnl
2617
2628
LIBM=
2618
2629
case $host in
2619
- *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
2630
+ *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin* | *-*-haiku* )
2620
2631
# These system don't have libm, or don't need it
2621
2632
;;
2622
2633
*-ncr-sysv4.3*)
@@ -4756,7 +4767,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
4756
4767
# like `-m68040'.
4757
4768
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1 )='-m68020 -resident32 -malways-restore-a4'
4758
4769
;;
4759
- beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4770
+ beos* | haiku* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4760
4771
# PIC is the default for these OSes.
4761
4772
;;
4762
4773
mingw* | cygwin* | os2* | pw32*)
@@ -5045,7 +5056,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
5045
5056
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1 )='-m68020 -resident32 -malways-restore-a4'
5046
5057
;;
5047
5058
5048
- beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5059
+ beos* | haiku* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5049
5060
# PIC is the default for these OSes.
5050
5061
;;
5051
5062
0 commit comments