ltmain.in: Fix handling xlc(1)-specific options

Patch supplied on Savannah by user, whr:
  https://savannah.gnu.org/patch/index.php?10126
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 8cef9e8..a4fa628 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5327,7 +5327,8 @@
       # Tru64 UNIX uses -model [arg] to determine the layout of C++
       # classes, name mangling, and exception handling.
       # Darwin uses the -arch flag to determine output architecture.
-      -model|-arch|-isysroot|--sysroot)
+      # -q <option> for IBM XL C/C++ compiler.
+      -model|-arch|-isysroot|--sysroot|-q)
 	func_append compiler_flags " $arg"
 	func_append compile_command " $arg"
 	func_append finalize_command " $arg"