]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
windows: autotools .rc warnings fixup
authorViktor Szakats <commit@vsz.me>
Fri, 23 Sep 2022 19:39:18 +0000 (19:39 +0000)
committerViktor Szakats <commit@vsz.me>
Fri, 23 Sep 2022 19:39:18 +0000 (19:39 +0000)
Move `LT_LANG([Windows Resource])` after `XC_LIBTOOL`, fixing:

- Warnings when running `autoreconf -fi`.

- Warning when compiling .rc files:
  libtool: compile: unable to infer tagged configuration
  libtool:   error: specify a tag with '--tag'

Follow up to 6de7322c03d5b4d91576a7d9fc893e03cc9d1057
Ref: https://github.com/curl/curl/pull/9521#issuecomment-1256291156

Suggested-by: Patrick Monnerat
Closes #9582

configure.ac

index 9739eab2c216fde8dccd1add75e873630e29b7c7..1a4696e0e37c48d54b05d7d9a7534064561c1bbe 100644 (file)
@@ -55,8 +55,6 @@ CURL_CHECK_OPTION_ECH
 
 XC_CHECK_PATH_SEPARATOR
 
-LT_LANG([Windows Resource])
-
 #
 # save the configure arguments
 #
@@ -351,6 +349,8 @@ AC_SYS_LARGEFILE
 
 XC_LIBTOOL
 
+LT_LANG([Windows Resource])
+
 #
 # Automake conditionals based on libtool related checks
 #